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

refactor(usage): make usage declarations more programmatic #308

Closed
wraithgar opened this issue Mar 9, 2021 · 0 comments
Closed

refactor(usage): make usage declarations more programmatic #308

wraithgar opened this issue Mar 9, 2021 · 0 comments
Labels

Comments

@wraithgar
Copy link
Member

The next refactor for usage should be a more declarative approach. Instead of defining strings that show how to use certain params, each usage array entry should be a param and its description.

Usage output can then be npm command [list of params] followed by a description of each param we have defined.

This is the bridge between what we're doing now and a more tightly coupled definition of all our cli options and the commands that use them and the help sections for those commands.

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

No branches or pull requests

2 participants