(name)
| 15 | // If the options are unsorted in the help, these will appear first. |
| 16 | class MyRootCommand extends Command { |
| 17 | createCommand(name) { |
| 18 | const cmd = new Command(name); |
| 19 | cmd.option('-v, --verbose', 'use verbose logging'); |
| 20 | return cmd; |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | const program = new MyRootCommand(); |