Mercurial > hg > MakeItSo
comparison makeitso/python.py @ 122:b2152efec89a
get the description from the docstring if applicable
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 19 Jan 2011 18:24:58 -0800 |
parents | 908e9a653668 |
children | 4922bee3d080 |
comparison
equal
deleted
inserted
replaced
121:d28cde6c942e | 122:b2152efec89a |
---|---|
89 | 89 |
90 class PythonPackageCLI(MakeItSoCLI): | 90 class PythonPackageCLI(MakeItSoCLI): |
91 """ | 91 """ |
92 CLI front end for the python package template | 92 CLI front end for the python package template |
93 """ | 93 """ |
94 usage = '%prog [options] project' | |
94 | 95 |
95 def main(args=sys.argv[1:]): | 96 def main(args=sys.argv[1:]): |
96 cli = PythonPackageCLI(PythonPackageTemplate) | 97 cli = PythonPackageCLI(PythonPackageTemplate) |
97 cli(*args) | 98 cli(*args) |
98 | 99 |