Source

pyptug / webpy / templetor / templates / code.py

$def with (program, docopt, author, email, version)
#!/usr/bin/env python
# encoding: utf-8
"""Usage:
$program $docopt[0]
$program $docopt[1]

"""
from docopt import docopt

__author__ = "$author"
__email__ = "$email"

def main():
    arguments = docopt(__doc__, version='$version')
    print(arguments)
     
if __name__ == '__main__':
    main()