Adding subcommands to your command line tool

added by bpwndaddy
6/8/2015 3:34:20 PM

1 Kicks, 247 Views

You might not have heard of subcommands, but you’ve certainly used them before. Examples of subcommands are install in npm install or push in git push. Subcommands make it possible for you to group related command line functionality under one root command.