huntzhan / clidoc

Prove Of Conecept Fork Of Docopt.
MIT License
7 stars 1 forks source link

Introduce synopsis line context #49

Closed huntzhan closed 9 years ago

huntzhan commented 9 years ago

As #48 mentioned, an argument can be bound or not bound in different synopsis line. Similarly, a focused element might be declared to generate multiple outcome types(issue of clidoc.python), for example:

Usage:
utility_name --foo=BAR
utility_name --foo=BAR...

Might need to introduce a context based on synopsis line.

huntzhan commented 9 years ago

Decide not support.