cmd-boost

0.3.2 • Public • Published

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 root@127.0.0.1
  • [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 root@127.0.0.1
  • [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

Readme

Keywords

Package Sidebar

Install

npm i cmd-boost

Weekly Downloads

1

Version

0.3.2

License

ISC

Unpacked Size

7.79 kB

Total Files

10

Last publish

Collaborators

  • jcloudyu