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

harvester --date, --all, --last-week should be mutually exclusive options #367

Open
shippy opened this issue Mar 2, 2020 · 0 comments
Open

Comments

@shippy
Copy link
Contributor

shippy commented Mar 2, 2020

Under current setup, harvester silently overrules the options in the order listed. This means that harvester --date "{2019-01-01}:{2020-01-01}" --all will end up running as harvester --date "{first-date}:{today}".

To resolve, the segment-related options should be placed in a mutually exclusive argparse group.

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