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

Review cmdline module #63

Open
scheibel opened this issue Aug 31, 2018 · 2 comments
Open

Review cmdline module #63

scheibel opened this issue Aug 31, 2018 · 2 comments

Comments

@scheibel
Copy link
Member

  • Remove ArgumentParser.
  • Provide interface on CommandLineProgram to query the remaining arguments (in case no actions, switches, options or parameters are registered, this would return all arguments)
  • Allow for nesting actions (presumably merge action and program or subclass program from action)
@cgcostume
Copy link
Member

can you please provide some background on the reasoning and potential benefits of your suggestions.

@scheibel
Copy link
Member Author

The background was an internal discussion with @sbusch42.
We reviewed the currently two existing implementations to parse arguments from the command line (namely ArgumentParser and CommandLineProgram) and decided to merge their implementations.

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

2 participants