Closed
Description
Would it be possible to support two (or more?) optional arguments that together must be required. For example:
dotnet clean <PROJECT>|<SOLUTION>
where you must pass either a project or a solution. It this case they would be the same type FileInfo
but I'm looking for a FileInfo
and string
.
Otherwise is it possible to setup two commands? One clitool subcommand1 <string-arg>
and another clitool subcommand1 <file-arg>
?