Skip to content

Suggestion: Rearrange #initValidators of Command to first validate --output before options #5915

@MathijsVerbeeck

Description

@MathijsVerbeeck

The idea is to first validate the output being specified before validating the options.

This could be handy for when you enter a command with a wrong output and you forget to enter mandatory options, you will first get prompted to enter those options to then get an error message that the specified output is invalid. For me, it would make more sense to get the error regarding the wrong output before validating and prompting for a missing option.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions