fix: define help flag on initial command
MODIFY
templates/src/command.ts.ejs
templates/src/command.ts.ejs
@@ -20,12 +20,11 @@ hello world from ./src/<%- name %>.ts!
<%_ if (type === 'single') { _%>
// add --version flag to show CLI version
version: flags.version({char: 'v'}),
- // add --help flag to show CLI version
- help: flags.help({char: 'h'}),
-
<%_ } _%>
+ help: flags.help({char: 'h'}),
// flag with a value (-n, --name=VALUE)
name: flags.string({char: 'n', description: 'name to print'}),
+ // flag with no value (-f, --force)
force: flags.boolean({char: 'f'}),
}

fix: define help flag on initial command