boltpkg / bolt

⚡️ Super-powered JavaScript project management
MIT License
2.35k stars 82 forks source link

Implement help command and modify --help behaviour #252

Closed Blasz closed 5 years ago

Blasz commented 5 years ago

--help now only displays help information if ran with no commands, i.e. bolt --help. If a command is passed, e.g. bolt --help. the--helpflag will be passed through to that command and not display help text. This fixes running npm scripts that have implemented their own flag, e.g.yarn run my-script-that-has-a-help-flag --help`

In the future we will implement help information for subcommands that may handle bolt <command> --help as well as bolt help <subcommand>.

lukebatchelor commented 5 years ago

Released in 0.24.3