scour icon indicating copy to clipboard operation
scour copied to clipboard

Move over to argparse

Open IceflowRE opened this issue 3 years ago • 1 comments

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 .

IceflowRE avatar May 05 '21 20:05 IceflowRE

Indeed, this has been a "low priority" improvement for the last five years, see https://github.com/scour-project/scour/pull/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).

Ede123 avatar May 05 '21 21:05 Ede123