phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-3517) Use argparse in
Date Wed, 14 Dec 2016 00:22:58 GMT


Nick Dimiduk commented on PHOENIX-3517:

bq. Would somethign like virtualenv be a tool to use here? Or should we just avoid opening
the can of worms on non-default-modules entirely?

Virtualenv would be super complicated for us; it's not worth it just for arg-parsing. If you're
happy with the library you're using, then just use it. If we really wanted docopt, i think
it has no dependencies, which means we could drop the file into our bin dir and just use it
(license permitting distribution, of course).

> Use argparse in
> -------------------------------
>                 Key: PHOENIX-3517
>                 URL:
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 4.10.0
>         Attachments: PHOENIX-3517.patch
> just does hand-rolled argument parsing. We can simplify the code, make
better usage and validation choices, and support some extra options that we presently default
> Python's argparse does all of these for us.

This message was sent by Atlassian JIRA

View raw message