@@ -40,25 +40,30 @@ Usage: docstub run [OPTIONS] PACKAGE_PATH
4040 annotations or to override them.
4141
4242Options:
43- -o, --out-dir PATH Set output directory explicitly. Stubs will be directly
44- written into that directory while preserving the
45- directory structure under `PACKAGE_PATH`. Otherwise,
46- stubs are generated inplace.
47- --config PATH Set one or more configuration file(s) explicitly.
48- Otherwise, it will look for a `pyproject.toml` or
49- `docstub.toml` in the current directory.
50- --ignore GLOB Ignore files matching this glob-style pattern. Can be
51- used multiple times.
52- --group-errors Group identical errors together and list where they
53- occurred. Will delay showing errors until all files have
54- been processed. Otherwise, simply report errors as the
55- occur.
56- --allow-errors INT Allow this many or fewer errors. If docstub reports
57- more, exit with error code '1'. This is useful to adopt
58- docstub gradually. [default: 0; x>=0]
59- --no-cache Ignore pre-existing cache and don't create a new one.
60- -v, --verbose Print more details (repeatable).
61- -h, --help Show this message and exit.
43+ -o, --out-dir PATH Set output directory explicitly. Stubs will be
44+ directly written into that directory while preserving
45+ the directory structure under `PACKAGE_PATH`.
46+ Otherwise, stubs are generated inplace.
47+ --config PATH Set one or more configuration file(s) explicitly.
48+ Otherwise, it will look for a `pyproject.toml` or
49+ `docstub.toml` in the current directory.
50+ --ignore GLOB Ignore files matching this glob-style pattern. Can be
51+ used multiple times.
52+ --group-errors Group identical errors together and list where they
53+ occurred. Will delay showing errors until all files
54+ have been processed. Otherwise, simply report errors
55+ as the occur.
56+ --allow-errors INT Allow this many or fewer errors. If docstub reports
57+ more, exit with error code '1'. This is useful to
58+ adopt docstub gradually. [default: 0; x>=0]
59+ -W, --fail-on-warning Return non-zero exit code when a warning is raised.
60+ Will add to '--allow-errors'.
61+ --no-cache Ignore pre-existing cache and don't create a new one.
62+ -v, --verbose Print more details. Use once to show information
63+ messages. Use '-vv' to print debug messages.
64+ -q, --quiet Print less details. Use once to hide warnings. Use
65+ '-qq' to completely silence output.
66+ -h, --help Show this message and exit.
6267```
6368
6469<!-- - end cli-docstub-run --->
@@ -78,7 +83,10 @@ Usage: docstub clean [OPTIONS]
7883 one exists, remove it.
7984
8085Options:
81- -v, --verbose Print more details (repeatable).
86+ -v, --verbose Print more details. Use once to show information messages.
87+ Use '-vv' to print debug messages.
88+ -q, --quiet Print less details. Use once to hide warnings. Use '-qq' to
89+ completely silence output.
8290 -h, --help Show this message and exit.
8391```
8492
0 commit comments