cmd-boost
A tiny library that provides some convenient tools for command line users
Command Boost Library
This library is designed to provide variety of tools implemented using Native Bash or Native NodeJS.
How to use?
Well, all you have to do is run the following command to install the library globally. And the npm will handles the rest for you!
npm install -g cmd-boost
What commands are provided in this library ?
Hmm, very little! Following list is the commands provided by the library!
Commands
-
[Bash] incognito
This cmd is an alias to ssh command which by default will not remember and check any host key into .ssh directory. This is very convenient for one-time session.Example:
incognito [email protected]
-
[Bash] lrun
This cmd will bring up other command repetitively if the command failed and exit abnormally.Example:
lrun incognito -o ExitOnForwardFailure=yes -o ServerAliveInterval=10 -NL 1234:locahost:1234 [email protected]
-
[Bash] summon This cmd will run other command and make the command be a daemon process. Note that the command will only run executable files.
Example:
summon beacon.sh
-
[Bash] njs This cmd is an alias to node command with --experimental-modules is enabled by default and the default esm loader is assigned.
Example:
njs module-written-in-es6-syntax.esm.js
-
[Node] rpath
This cmd is written in NodeJS and is designed to provide exactly the same behavior as realpath command.Example:
rpath ./a/b/file