|
84 | 84 | * [`hd help [COMMAND]`](#hd-help-command) |
85 | 85 | * [`hd report committers`](#hd-report-committers) |
86 | 86 | * [`hd scan eol`](#hd-scan-eol) |
| 87 | +* [`hd tracker init`](#hd-tracker-init) |
87 | 88 | * [`hd update [CHANNEL]`](#hd-update-channel) |
88 | 89 | * **NOTE:** Only applies to [binary installation method](#binary-installation). NPM users should use [`npm install`](#global-npm-installation) to update to the latest version. |
89 | 90 |
|
@@ -198,6 +199,40 @@ EXAMPLES |
198 | 199 |
|
199 | 200 | _See code: [src/commands/scan/eol.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.12/src/commands/scan/eol.ts)_ |
200 | 201 |
|
| 202 | +## `hd tracker init` |
| 203 | + |
| 204 | +Initialize the tracker configuration |
| 205 | + |
| 206 | +``` |
| 207 | +USAGE |
| 208 | + $ hd tracker init [--force -o] [-d <value>] [-f <value>] [-i <value>...] |
| 209 | +
|
| 210 | +FLAGS |
| 211 | + -d, --outputDir=<value> [default: hd-tracker] Output directory for the tracker configuration file |
| 212 | + -f, --configFile=<value> [default: config.json] Filename for the tracker configuration file |
| 213 | + -i, --ignorePatterns=<value>... [default: node_modules] Ignore patterns to use for the tracker configuration file |
| 214 | + -o, --overwrite Overwrites the tracker configuration file if it exists |
| 215 | + --force Force tracker configuration file creation. Use with --overwrite flag |
| 216 | +
|
| 217 | +DESCRIPTION |
| 218 | + Initialize the tracker configuration |
| 219 | +
|
| 220 | +EXAMPLES |
| 221 | + $ hd tracker init |
| 222 | +
|
| 223 | + $ hd tracker init -d trackerDir |
| 224 | +
|
| 225 | + $ hd tracker init -d trackerDir -f configFileName |
| 226 | +
|
| 227 | + $ hd tracker init -i node_modules |
| 228 | +
|
| 229 | + $ hd tracker init -i node_modules -i custom_modules |
| 230 | +
|
| 231 | + $ hd tracker init -o |
| 232 | +``` |
| 233 | + |
| 234 | +_See code: [src/commands/tracker/init.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.13/src/commands/tracker/init.ts)_ |
| 235 | + |
201 | 236 | ## `hd update [CHANNEL]` |
202 | 237 |
|
203 | 238 | update the hd CLI |
|
0 commit comments