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
The option parser is generated based on the docstring above that is passed to `docopt` function. `docopt` parses the usage pattern (`"Usage: ..."`) and option descriptions (lines starting with dash "`-`") and ensures that the program invocation matches the usage pattern; it parses options, arguments and commands based on that. The basic idea is that *a good help message has all necessary information in it to make a parser*.
@@ -116,6 +119,14 @@ Note that you can use any kind of value in a boolean context and convert any val
116
119
Look [in the source code](src/private/value.nim) to find out more about these conversions.
117
120
118
121
122
+
Examples
123
+
--------
124
+
125
+
See [examples](examples) folder.
126
+
127
+
For more examples of docopt language see [docopt.py examples][].
128
+
129
+
119
130
Installation
120
131
------------
121
132
@@ -124,16 +135,7 @@ Installation
124
135
This library has no dependencies outside the standard library. An impure [`re`][re] library is used.
0 commit comments