config
config copied to clipboard
Exploration: space-separated subcommands
b9775af shows how to possibly make commandIDs return space-separated commands (user add) instead of colon-separated (user:add).
I opened this PR to gather feedback how to best do it. Can it be achieved without modifying plugin.ts? Should it be configurable via package.json like this?
{
"oclif": {
"commandSeparator": " "
}
}
Related:
- Support for space-separated subcommands https://github.com/oclif/oclif/issues/186
- PR in @oclif/command: https://github.com/oclif/command/pull/51
@oclif @heroku-cli I'm happy to champion this PR if you're willing to review it :)
Any thoughts on this PR from @heroku-cli team?
We'd very much like to use something like this, even if it means updating/forking some of the plugins (like the help plugin) to achieve the space-separated subcommand.