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

Implement .version() for sub commands #125

Open
1 of 3 tasks
egoist opened this issue Oct 6, 2021 · 0 comments
Open
1 of 3 tasks

Implement .version() for sub commands #125

egoist opened this issue Oct 6, 2021 · 0 comments

Comments

@egoist
Copy link
Collaborator

egoist commented Oct 6, 2021

Issue Type

  • Bug Report
  • Feature Request
  • Other

Expected

// app version
cli.version('0.0.0')

// sub app version
cli.command('build', 'build project')
.version('1.0.0')

Currently the cli.version call will only apply to non-sub commands.

Info

  • CAC version: 6.7.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant