I want to do something like this:
-LoadFiles -SourceFile "" -DestPath "" -SourceFolder "" -DestPath "" -GenericOperation -SpecificOperation -Arga "" -Argb "" -OtherOperation -Argc "" -Argb "" -Argc ""
The user should be able to run things like:
-LoadFiles -SourceFile "somePath" -DestPath "somePath"
or
-LoadFiles -SourceFolder "somePath" -DestPath "somePath"
Basically, if you have -LoadFiles, you should have either -SourceFile or -SourceFolder after. If you have a -SourceFile, you should have a -DestPath, etc.
Is this chain of necessary arguments for other arguments possible? If not, can I at least do something like this, if you have a -SourceFile, you SHOULD have a -DestPath?
source share