In the last post, we made a simple command line tool. In this post, we’ll add subcommands to that tool.

Source: The npm Blog — Adding subcommands to your command line tool