config icon indicating copy to clipboard operation
config copied to clipboard

Exploration: space-separated subcommands

Open borekb opened this issue 7 years ago • 2 comments

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

borekb avatar Nov 14 '18 09:11 borekb

@oclif @heroku-cli I'm happy to champion this PR if you're willing to review it :)

G-Rath avatar Nov 08 '19 00:11 G-Rath

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.

DavidWells avatar Sep 28 '20 16:09 DavidWells