Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a tree view for commands #292

Merged
merged 1 commit into from Jun 17, 2022
Merged

feat: add a tree view for commands #292

merged 1 commit into from Jun 17, 2022

Conversation

RodEsp
Copy link
Contributor

@RodEsp RodEsp commented Jun 6, 2022

What does this PR do?

Adds the --tree flag to the commands command.
This will print out a tree like structure for all of the commands in a CLI.

Testing instructions

  1. Pull this branch
  2. Run yarn install and yarn build
  3. At the root of this repo run
    1. Using the sf cli:
      1. sf plugins link .
      2. sf commands --tree
    2. Using the sfdx cli:
      1. sfdx plugins:link .
      2. sfdx commands --tree
  4. Verify the command tree.

Examples

Normal tree

sfCommandsTree

--json tree

sfCommandsTreeJson

@W-10673592@

@RodEsp RodEsp merged commit 0ea4028 into main Jun 17, 2022
@RodEsp RodEsp deleted the re/command-tree branch June 17, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants