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