-
Notifications
You must be signed in to change notification settings - Fork 441
Closed
Milestone
Description
CommandLine.addSubcommand requires a string name and optionally an array of aliases. Would it be possible to add a version of addSubcommand that just takes in an Object and reads the name and aliases from the @command annotations? If the subcommands annotation can get the name and alias for subcommands, it seems like the programmatic way of adding subcommand should be able to as well.