Commit 66899e3
authored
docs: sync README CLI help output with actual CLI (#984)
* docs: sync README CLI help output with actual CLI
The help text in the README had drifted from the actual CLI:
- add missing --log-level option to the main command help
- add missing generate options: --config-file, --chunk-size, --index,
--minify, --type-map, and the updated -t/--target description
(including sitemap, web, and custom generator specifiers)
- make --ignore a required variadic glob argument
- drop stale hardcoded defaults for --threads, --version, --changelog,
and --git-ref, which are now resolved via configuration
* fix(core): accept a value for the --git-ref option
--git-ref was defined without an argument, so commander treated it as a
boolean flag: passing a ref errored with 'too many arguments', and the
bare flag set ref to true, breaking the ref/repository URL templates
which expect a string.
Define it as --git-ref <ref> and re-sync the README help output.1 parent f29d46b commit 66899e3
2 files changed
Lines changed: 26 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
56 | | - | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
82 | 95 | | |
83 | 96 | | |
84 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments