You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.
I've been avoiding work on #5 and #8 (and anything else related to arg parsing) for ages because it's just so annoying to deal in regex. So I'm making a decision: This module should use a real argument parser.
Since argparse is included in Python's standard library, that's probably the way to go. It looks like splitting the input into a list of strings and passing it to the parser will work (according to docs.python.org), and as long as parsing arbitrary argument lists is possible (since sys.argv is irrelevant to this application), everything else is just a matter of reading the docs.
The text was updated successfully, but these errors were encountered:
I've been avoiding work on #5 and #8 (and anything else related to arg parsing) for ages because it's just so annoying to deal in regex. So I'm making a decision: This module should use a real argument parser.
Since
argparse
is included in Python's standard library, that's probably the way to go. It looks like splitting the input into a list of strings and passing it to the parser will work (according to docs.python.org), and as long as parsing arbitrary argument lists is possible (sincesys.argv
is irrelevant to this application), everything else is just a matter of reading the docs.The text was updated successfully, but these errors were encountered: