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

Stop using docopt; it seems to be dead #137

Closed
goodmami opened this issue Apr 9, 2018 · 3 comments
Closed

Stop using docopt; it seems to be dead #137

goodmami opened this issue Apr 9, 2018 · 3 comments

Comments

@goodmami
Copy link
Member

goodmami commented Apr 9, 2018

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.

@alvations
Copy link

I started exploring alternatives for docopt too since a lot of my work work has docopt dependency, I've found http://click.pocoo.org/6/.

Not sure if it's simpler or better than native argparse but I think some of my work is going replace docopt with click.

@goodmami
Copy link
Member Author

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.

@fcbond
Copy link
Member

fcbond commented May 14, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants