Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
code
slides
.gitignore
README.md

README.md

argparse-docopt-click

This talk compares building the command line interface for a sampletodo app using argparse, docopt and click

Slides

Local setup

# cd code
# sudo pip install pipenv
# sudo pipenv install -r requirements.txt
# sudo pipenv shell

Code

Run tests

  • Ensure that pipenv setup is done

  • Run test for each implementation:

# ./test.sh docopt 2>&1 | less
# ./test.sh argparse 2>&1 | less
# ./test.sh click 2>&1 | less