-
Notifications
You must be signed in to change notification settings - Fork 27
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
Stop using docopt; it seems to be dead #137
Comments
I started exploring alternatives for Not sure if it's simpler or better than native argparse but I think some of my work is going replace docopt with |
I tried docopt because I found myself often fighting with getting nice help messages, and I also like how docopt requires unix-style usage synposes and how it allows for multiple invocation patterns (more easily than argparse), but it also has limitations. But yes, I've stopped using it because the project is dead, with the developer apparently declaring it "complete", as if it doesn't require ongoing maintenance. Click seems to be actively developed, but so far I haven't been enticed by its style of creating CLIs through function decorators. Maybe it just takes a little getting used to, but for now argparse works well enough and doesn't impose an additional dependency. |
I must admit it is nice not having an additional dependency :-)
…On Tue, May 15, 2018 at 2:20 AM, Michael Wayne Goodman < ***@***.***> wrote:
I tried docopt because I found myself often fighting with getting nice
help messages, and I also like how docopt requires unix-style usage
synposes and how it allows for multiple invocation patterns (more easily
than argparse), but it also has limitations. But yes, I've stopped using it
because the project is dead, with the developer apparently declaring it
"complete", as if it doesn't require ongoing maintenance. Click seems to be
actively developed, but so far I haven't been enticed by its style of
creating CLIs through function decorators. Maybe it just takes a little
getting used to, but for now argparse works well enough and doesn't impose
an additional dependency.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#137 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABD8xg3M5k45wgRKfvADCex08faIfaB2ks5tybzygaJpZM4TLxNt>
.
--
Francis Bond <http://www3.ntu.edu.sg/home/fcbond/>
Division of Linguistics and Multilingual Studies
Nanyang Technological University
|
I started using docopt for many of my projects because of the simplicity it offered for writing CLIs, but unfortunately the project seems dead. After a long time of inactivity, there were a few merged PRs early this year, but it isn't enough to engender much confidence in the future of that project.
See docopt/docopt#371
I guess I can move back to argparse. On the plus side, PyDelphin will have 1 fewer dependencies that aren't in the standard library.
The text was updated successfully, but these errors were encountered: