architecture-as-code
architecture-as-code copied to clipboard
Better error messages when running commands with missing parameters
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.