CmdOption
CmdOption copied to clipboard
Support options from main program in after a command was detected
If the command support is used (with @CmdCommand
), the main options must be placed before the command and all command specific options need to be placed after the command.
It would be useful, to support to parse the main options after the command, if no ambiguous options were detected.
Here are some potential suggestions:
- Allow to enable/disable this behaviour via
CmdlineParser
- When the command was detected and supports no parameters try to parse unknown options/parameters into the main config