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

Use a more granular option parsing #15

Closed
framps opened this Issue Oct 8, 2017 · 3 comments

Comments

Projects
None yet
1 participant
@framps
Copy link
Owner

framps commented Oct 8, 2017

Right now options can be turned on or toggled via command line options. There is no way to turn an option off via command if it's turned on in a config file.

@framps framps added the enhancement label Oct 8, 2017

@framps framps added enhancement and removed enhancement labels Oct 24, 2017

@framps framps self-assigned this Feb 4, 2018

@framps

This comment has been minimized.

Copy link
Owner Author

framps commented Feb 4, 2018

Option parsing will be enhanced as follows:
Old options -x will just enable the option. No toggling will happen any more. In order to overwrite a preconfigured option it will be possible to add a trailing + or -, e.g -x+ or -x-. + Will turn the option on as -x just does and - will turn the option off.

@framps

This comment has been minimized.

Copy link
Owner Author

framps commented Feb 4, 2018

@christianTF I just created a new branch on top of the current beta code which uses a new option parser supporting the syntax I mentioned before.
I still need to execute some tests but as far I can see it works pretty good. Just give it a try an let me know of any findings.

@framps

This comment has been minimized.

@framps framps closed this Mar 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment