This is a test repo for trying to solve bash-completion for NodeJS scripts.
Go to file
2024-06-24 22:53:49 +02:00
.gitignore doc(): Init repo 2024-06-24 22:53:49 +02:00
.prettierrc.json doc(): Init repo 2024-06-24 22:53:49 +02:00
myUpdateSubCommand doc(): Init repo 2024-06-24 22:53:49 +02:00
package.json doc(): Init repo 2024-06-24 22:53:49 +02:00
pm doc(): Init repo 2024-06-24 22:53:49 +02:00
pm-install doc(): Init repo 2024-06-24 22:53:49 +02:00
pm-list doc(): Init repo 2024-06-24 22:53:49 +02:00
pm-search doc(): Init repo 2024-06-24 22:53:49 +02:00
pnpm-lock.yaml doc(): Init repo 2024-06-24 22:53:49 +02:00
README.md doc(): Init repo 2024-06-24 22:53:49 +02:00

This is an example repository for NodeJS scripts on BASH

By combining two powerful scripts it could be possible to have shell scripts with real object orientation self describing functions for bash-completion.

Tab completion for Javascript files: https://github.com/f/omelette/tree/master

Example for Tab completion with commander: https://github.com/tj/commander.js/issues/385#issuecomment-1457773417

Use universal shebang

https://unix.stackexchange.com/questions/65235/universal-node-js-shebang

Set location for npm packages with repl sessions

https://sabljakovich.medium.com/how-to-use-npm-packages-with-node-js-repl-sessions-cd77300ebfe2