Files
plac/doc/annotations.py
2010-09-06 01:32:36 -04:00

10 lines
287 B
Python

# annotations.py
class Positional(object):
def __init__(self, help='', type=None, choices=None, metavar=None):
self.help = help
self.kind = 'positional'
self.abbrev = None
self.type = type
self.choices = choices
self.metavar = metavar