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

Move over to argparse #278

Open
IceflowRE opened this issue May 5, 2021 · 1 comment
Open

Move over to argparse #278

IceflowRE opened this issue May 5, 2021 · 1 comment

Comments

@IceflowRE
Copy link

Currently optparse is used and deprecated and stopped developing since 2011.
Also the options should be moved to a dict, it is a hassle to work with optparse.Values in third-party software.

It was already a bit discussed in #112 .

@Ede123
Copy link
Member

Ede123 commented May 5, 2021

Indeed, this has been a "low priority" improvement for the last five years, see #44. ;-)

PRs welcome.

For now you can make use of sanitizeOptions (which was introduced in the linked PR) which lets you make use of "random" objects (so you don't absolutely need to handle optparse.Values).

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