CmdOption icon indicating copy to clipboard operation
CmdOption copied to clipboard

Support options from main program in after a command was detected

Open lefou opened this issue 10 years ago • 0 comments

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

lefou avatar May 13 '14 12:05 lefou