Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Exploration: space-separated subcommands #64

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

borekb
Copy link

@borekb borekb commented Nov 14, 2018

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:

This commit makes `commandIDs` return space-separated commands instead of colon-separated.
@G-Rath
Copy link
Contributor

G-Rath commented Nov 8, 2019

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

@DavidWells
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants