Skip to content

ashwink0/commander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmmndr

oclif Version Downloads/week Downloads License Build Status

Usage

$ 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
...

Commands

cmmndr add SHORTCUT COMMAND

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

cmmndr help [COMMAND]

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

cmmndr init

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

cmmndr list

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

cmmndr remove SHORTCUT

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

cmmndr run SHORTCUT

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

About

A CLI tool that groups multiple commands into a single shortcut.

Topics

Resources

License

Stars

Watchers

Forks