|
3 | 3 | ```bash |
4 | 4 | ❯ npx commitlint --help |
5 | 5 |
|
6 | | -@commitlint/cli@8.3.5 - Lint your commit messages |
| 6 | +@commitlint/cli@11.0.0 - Lint your commit messages |
7 | 7 |
|
8 | 8 | [input] reads from stdin if --edit, --env, --from and --to are omitted |
9 | 9 |
|
10 | 10 | Options: |
11 | | - --color, -c toggle colored output [boolean] [default: true] |
12 | | - --config, -g path to the config file [string] |
13 | | - --cwd, -d directory to execute in [string] [default: cwd] |
14 | | - --edit, -e read last commit message from the specified file or |
15 | | - fallbacks to ./.git/COMMIT_EDITMSG |
16 | | - [string] [default: false] |
17 | | - --env, -E check message in the file at path given by environment |
| 11 | + -c, --color toggle colored output [boolean] [default: true] |
| 12 | + -g, --config path to the config file [string] |
| 13 | + --print-config print resolved config [boolean] [default: false] |
| 14 | + -d, --cwd directory to execute in |
| 15 | + [string] [default: (Working Directory)] |
| 16 | + -e, --edit read last commit message from the specified file or |
| 17 | + fallbacks to ./.git/COMMIT_EDITMSG [string] |
| 18 | + -E, --env check message in the file at path given by environment |
18 | 19 | variable value [string] |
19 | | - --extends, -x array of shareable configurations to extend [array] |
20 | | - --help-url, -H helpurl in error message [string] |
21 | | - --from, -f lower end of the commit range to lint; applies if |
| 20 | + -x, --extends array of shareable configurations to extend [array] |
| 21 | + -H, --help-url help url in error message [string] |
| 22 | + -f, --from lower end of the commit range to lint; applies if |
22 | 23 | edit=false [string] |
23 | | - --format, -o output format of the results [string] |
24 | | - --parser-preset, -p configuration preset to use for |
| 24 | + -o, --format output format of the results [string] |
| 25 | + -p, --parser-preset configuration preset to use for |
25 | 26 | conventional-commits-parser [string] |
26 | | - --quiet, -q toggle console output [boolean] [default: false] |
27 | | - --to, -t upper end of the commit range to lint; applies if |
| 27 | + -q, --quiet toggle console output [boolean] [default: false] |
| 28 | + -t, --to upper end of the commit range to lint; applies if |
28 | 29 | edit=false [string] |
29 | | - --verbose, -V enable verbose output for reports without problems |
| 30 | + -V, --verbose enable verbose output for reports without problems |
30 | 31 | [boolean] |
31 | 32 | -v, --version display version information [boolean] |
32 | | - -h, --help Show help [boolean] |
| 33 | + -h, --help Show help [boolean]" |
33 | 34 | ``` |
0 commit comments