You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.
Similar to [option], add a special section for commands:
Usage: foo <command>
Available commands:
bar lorem ipsum
foo
qux lorem ipsum
This extends docopt significantly.
This is a bit tricky to parse, but I think the most intuitive would be to mark the indentation level of the first
word after the actual command name. Then only treat text as part of the description of the command currently being parsed if it equal or more indented than the mark.
The text was updated successfully, but these errors were encountered:
Similar to
[option]
, add a special section for commands:This extends docopt significantly.
This is a bit tricky to parse, but I think the most intuitive would be to mark the indentation level of the first
word after the actual command name. Then only treat text as part of the description of the command currently being parsed if it equal or more indented than the mark.
The text was updated successfully, but these errors were encountered: