$ npm install -g cmmndr
$ cmmndr COMMAND
running command...
$ cmmndr (-v|--version|version)
cmmndr/1.3.6 darwin-x64 node-v12.16.1
$ cmmndr --help [COMMAND]
USAGE
$ cmmndr COMMAND
...
cmmndr add SHORTCUT COMMAND
cmmndr help [COMMAND]
cmmndr init
cmmndr list
cmmndr remove SHORTCUT
cmmndr run SHORTCUT
Adds a commander command to the current directory.
USAGE
$ cmmndr add SHORTCUT COMMAND
ARGUMENTS
SHORTCUT The command that you want to point to a consolidated command
COMMAND The list of commands you want run with your shortcut.
OPTIONS
-f, --force
DESCRIPTION
...
Adds a specified list of commands under a shortcut.
If the shortcut already exists, the command can be overwritten by a new command with the --force flag.
Note: If the command has spaces in it, you must put it in quotes.
EXAMPLE
$ cmmndr add expressProject `code . && npm install && nodemon server.js`
See code: src/commands/add.js
display help for cmmndr
USAGE
$ cmmndr help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
Initialize a project with a commander file.
USAGE
$ cmmndr init
OPTIONS
-f, --force
DESCRIPTION
...
Generates a .cmmndr file in the current directory to store consolidated commands
See code: src/commands/init.js
Displays the list of shortcuts and commands in a certain directory.
USAGE
$ cmmndr list
DESCRIPTION
...
Lists all shortcuts for a directory with their command lists.
EXAMPLE
$ cmmndr list
See code: src/commands/list.js
Removes a commander command.
USAGE
$ cmmndr remove SHORTCUT
ARGUMENTS
SHORTCUT The command that you want to remove.
DESCRIPTION
...
Finds the supplied command and removes it from the directory.
EXAMPLE
$ cmmndr remove expressProject
See code: src/commands/remove.js
Runs a commander command.
USAGE
$ cmmndr run SHORTCUT
ARGUMENTS
SHORTCUT The command that you want to run.
DESCRIPTION
...
Finds the list of commands stored under the provided shortcut.
EXAMPLE
$ cmmndr run expressProject
See code: src/commands/run.js