Summary
Add a --short flag to the spec validate command that produces a condensed version of the validation output.
Short output
When --short is passed, the output should keep the same overall structure as normal output but only show:
- valid:
true / false
- Number of errors
- Number of warnings
No details on individual errors or warnings.
Normal output update
For consistency, also add the number of errors and number of warnings summary to the normal (non-short) validation output. The normal output continues to include full error/warning details as before.
Summary
Add a
--shortflag to thespec validatecommand that produces a condensed version of the validation output.Short output
When
--shortis passed, the output should keep the same overall structure as normal output but only show:true/falseNo details on individual errors or warnings.
Normal output update
For consistency, also add the number of errors and number of warnings summary to the normal (non-short) validation output. The normal output continues to include full error/warning details as before.