Files
bob-builder-1/bob/cli.py
T
2014-03-06 13:13:31 -05:00

30 lines
612 B
Python

# -*- coding: utf-8 -*-
"""Usage: bob [-vqrh] [FILE] ...
bob (--left | --right) CORRECTION FILE
Process FILE and optionally apply correction to either left-hand side or
right-hand side.
Arguments:
FILE optional input file
CORRECTION correction angle, needs FILE, --left or --right to be present
Options:
-h --help
-v verbose mode
-q quiet mode
-r make report
--left use left-hand side
--right use right-hand side
"""
from docopt import docopt
def dispatch():
print 'welcome to bob!'
print
arguments = docopt(__doc__)
print(arguments)