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

Fix CmdArgs module, to allow the args to be reparsed multiple times. #12

Closed
mdsitton opened this issue Jul 18, 2015 · 1 comment
Closed

Comments

@mdsitton
Copy link
Member

This makes the module a bit simpler to use cross engine overall since you dont have to track where the arguments are being parsed.

Basically the idea is to store all the values needed to pass into argparse, then when parse_args is called make a new instance of ArgumentParser and feed the arg options into it.

Some other cleanups are also needed, for example figure out how to get rid of the imo horrible syntax to get values out of the module. And maybe switch it to some kind of dictionary access type syntax

@mdsitton
Copy link
Member Author

This will need to be implemented soon before my work on issue #16 approaches completion.

mdsitton added a commit that referenced this issue Aug 20, 2015
…x issue #12

This allows both engine, and framwork to both add command line arguments while using the same module.
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