Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support options from main program in after a command was detected #4

Open
lefou opened this issue May 13, 2014 · 0 comments
Open

Support options from main program in after a command was detected #4

lefou opened this issue May 13, 2014 · 0 comments

Comments

@lefou
Copy link
Member

lefou commented May 13, 2014

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant