architecture-as-code icon indicating copy to clipboard operation
architecture-as-code copied to clipboard

Better error messages when running commands with missing parameters

Open willosborne opened this issue 1 year ago • 0 comments

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 avatar Jul 26 '24 13:07 willosborne