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

Better error messages when running commands with missing parameters #312

Closed
willosborne opened this issue Jul 26, 2024 · 0 comments · Fixed by #530
Closed

Better error messages when running commands with missing parameters #312

willosborne opened this issue Jul 26, 2024 · 0 comments · Fixed by #530
Assignees
Labels
CLI enhancement New feature or request
Milestone

Comments

@willosborne
Copy link
Member

Feature Request

Description of Problem:

Currently some of the errors output by the commands are confusing. e.g. running the 'calm validate' command with no arguments produces a large stack trace - even if this eventually does display the right error message.

Potential Solutions:

Tighten the config around our parameters in the Commander config in index.ts to properly indicate which parameters are mandatory.
Potentially add a system for failing more gracefully if things are missing.

@willosborne willosborne added the enhancement New feature or request label Jul 26, 2024
@jpgough-ms jpgough-ms added the CLI label Oct 7, 2024
@rocketstack-matt rocketstack-matt added this to the 1.0 milestone Oct 17, 2024
@rocketstack-matt rocketstack-matt self-assigned this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants