This is a test repo for trying to solve bash-completion for NodeJS scripts.
.gitignore | ||
.prettierrc.json | ||
myUpdateSubCommand | ||
package.json | ||
pm | ||
pm-install | ||
pm-list | ||
pm-search | ||
pnpm-lock.yaml | ||
README.md |
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