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

add group field for a better command list formatting #60

Open
kindermax opened this issue May 6, 2020 · 2 comments
Open

add group field for a better command list formatting #60

kindermax opened this issue May 6, 2020 · 2 comments

Comments

@kindermax
Copy link
Collaborator

kindermax commented May 6, 2020

commands:
  lint:
    group: codequality
    cmd: eslint
  test:
    group: tests
    cmd: jest

and the output will be grouped and indented

Available commands:
  codequality
    lint
  tests
    test
@vharitonsky
Copy link
Contributor

vharitonsky commented May 31, 2020

Doesn't it depend on spf13/cobra#836?

@kindermax
Copy link
Collaborator Author

I think it does not. We can implement it on our own, just by providing own template

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

No branches or pull requests

2 participants