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

Add support for argparse #3

Merged
merged 8 commits into from Aug 6, 2016
Merged

Add support for argparse #3

merged 8 commits into from Aug 6, 2016

Conversation

Hydriz
Copy link
Owner

@Hydriz Hydriz commented Jul 31, 2016

argparse is supposedly a better option for parsing arguments as it allows for different types of options depending on the module being loaded.

Current pending issues:

  • Unable to run the script without declaring the dataset type to work on. Breaks the continuous daemon.
  • E.g. --verbose can be used provided it appears before the dataset type to work on. Declaring it last causes an "unknown argument" error.

@Hydriz Hydriz self-assigned this Jul 31, 2016
@Hydriz Hydriz merged commit 7158ff1 into master Aug 6, 2016
@Hydriz Hydriz deleted the argparse branch August 6, 2016 04:14
Hydriz added a commit that referenced this pull request Sep 29, 2016
The argparse library makes it easier for adding new arguments by individual modules. The arguments specific to the dumps module has now been moved out and only the general options are kept within runner.py.
Hydriz added a commit that referenced this pull request Sep 29, 2016
The argparse library makes it easier for adding new arguments by individual modules. The arguments specific to the dumps module has now been moved out and only the general options are kept within runner.py.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant