Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.
/ cookiecutter-docopt Public archive

A Python command-line script template that uses docopt for arguments parsing

Notifications You must be signed in to change notification settings

sloria/cookiecutter-docopt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cookiecutter-docopt

https://travis-ci.org/sloria/cookiecutter-docopt.svg?branch=master

A python command-line script template, for use with cookiecutter.

Features

  • docopt for command-line arguments parsing
  • pytest for testing.
  • The bundle branch has a vendorized version of docopt.

To use this template

$ pip install cookiecutter
$ cookiecutter https://github.com/sloria/cookiecutter-docopt.git

You will be prompted for basic info (your name, script name, etc.) which will be used in the template.

That's all you need to get started.

Don't want to use docopt?

If you prefer not to use docopt for arguments parsing, simply remove the line install_requires=['docopt'] from setup.py and remove the docopt code in your script.

Next steps

License

MIT Licensed.

About

A Python command-line script template that uses docopt for arguments parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages