Let a command named "display" have to parameters:
bool - name: "all"; short name: "a"
string - anonymous;
The command: app-name display -a John
- is expected to display all the persons called "John".
- it actually returns an error because the name "John" is mistakenly used as a value for the boolean parameter "all"
DustInTheWind.ConsoleTools.Commando.MetadataModel.InvalidParameterValueException: 'John' is not a valid value for 'all'.
Same error is returned even if -- is used:
app-name display -a -- John
Let a command named "display" have to parameters:
bool- name: "all"; short name: "a"string- anonymous;The command:
app-name display -a JohnDustInTheWind.ConsoleTools.Commando.MetadataModel.InvalidParameterValueException: 'John' is not a valid value for 'all'.Same error is returned even if
--is used:app-name display -a -- John