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.
The idea is to first validate the
outputbeing specified before validating the options.This could be handy for when you enter a command with a wrong
outputand 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.