Skip to content

dvdknaap/simplecommandline

Repository files navigation

simple commandline

NPM Version

Create your own command line program easily by simply create an function

Install

npm install -g simplecommandline

Create an new command

Custom folder will be saved in 'helpers/simplecommandline' in your current directory scl command:create myepic TestCommand TestCommand --desc="my awesome command" --shortcut="c:tc" --usage="<argSuccess> (--argSuccess='1')" --example="myepic:TestCommand 0"

Remove an command

scl command:remove myepic TestCommand

Test

scl myepic:TestCommand 0 scl myepic:TestCommand 1

Customize

When you want to change the logo of your simple commandline program simply add an new 'logo.ascii' file in 'helpers/simplecommandline'

Help

Keep in mind that when you are passing an argument with spaces pass the argument with --argName="argValue"

scl help

About

simple commandline build for nodejs

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published