hugo-extended 0.154.3 → 0.154.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +220 -65
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +28 -0
- package/dist/generated/flags.json +1143 -0
- package/dist/generated/types.d.mts +383 -0
- package/dist/generated/types.mjs +1 -0
- package/dist/generated/types.ts +490 -0
- package/dist/hugo.d.mts +240 -0
- package/dist/hugo.mjs +246 -0
- package/dist/lib/args.d.mts +30 -0
- package/dist/lib/args.mjs +126 -0
- package/dist/lib/env.d.mts +62 -0
- package/dist/lib/env.mjs +138 -0
- package/dist/lib/install.d.mts +66 -0
- package/dist/lib/install.mjs +190 -0
- package/dist/lib/utils.d.mts +123 -0
- package/dist/lib/utils.mjs +191 -0
- package/package.json +52 -26
- package/postinstall.js +57 -3
- package/index.d.ts +0 -7
- package/index.js +0 -22
- package/lib/cli.js +0 -15
- package/lib/install.js +0 -144
- package/lib/utils.js +0 -109
- /package/{LICENSE.md → LICENSE} +0 -0
|
@@ -0,0 +1,1143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"globalFlags": [
|
|
3
|
+
{
|
|
4
|
+
"long": "--clock",
|
|
5
|
+
"typeToken": "string",
|
|
6
|
+
"kind": "string",
|
|
7
|
+
"description": "set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"long": "--config",
|
|
11
|
+
"typeToken": "string",
|
|
12
|
+
"kind": "string",
|
|
13
|
+
"description": "config file",
|
|
14
|
+
"defaultRaw": "hugo.yaml|json|toml"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"long": "--configDir",
|
|
18
|
+
"typeToken": "string",
|
|
19
|
+
"kind": "string",
|
|
20
|
+
"description": "config dir",
|
|
21
|
+
"defaultRaw": "\"config\""
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"long": "--destination",
|
|
25
|
+
"short": "-d",
|
|
26
|
+
"typeToken": "string",
|
|
27
|
+
"kind": "string",
|
|
28
|
+
"description": "filesystem path to write files to"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"long": "--environment",
|
|
32
|
+
"short": "-e",
|
|
33
|
+
"typeToken": "string",
|
|
34
|
+
"kind": "string",
|
|
35
|
+
"description": "build environment"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"long": "--ignoreVendorPaths",
|
|
39
|
+
"typeToken": "string",
|
|
40
|
+
"kind": "string",
|
|
41
|
+
"description": "ignores any _vendor for module paths matching the given Glob pattern"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"long": "--logLevel",
|
|
45
|
+
"typeToken": "string",
|
|
46
|
+
"kind": "string",
|
|
47
|
+
"description": "log level",
|
|
48
|
+
"enum": [
|
|
49
|
+
"debug",
|
|
50
|
+
"info",
|
|
51
|
+
"warn",
|
|
52
|
+
"error"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"long": "--noBuildLock",
|
|
57
|
+
"kind": "boolean",
|
|
58
|
+
"description": "don't create .hugo_build.lock file"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"long": "--output",
|
|
62
|
+
"short": "-o",
|
|
63
|
+
"typeToken": "string",
|
|
64
|
+
"kind": "string",
|
|
65
|
+
"description": "filesystem path to write files to"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"long": "--quiet",
|
|
69
|
+
"kind": "boolean",
|
|
70
|
+
"description": "build in quiet mode"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"long": "--renderToMemory",
|
|
74
|
+
"short": "-M",
|
|
75
|
+
"kind": "boolean",
|
|
76
|
+
"description": "render to memory (mostly useful when running the server)"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"long": "--source",
|
|
80
|
+
"short": "-s",
|
|
81
|
+
"typeToken": "string",
|
|
82
|
+
"kind": "string",
|
|
83
|
+
"description": "filesystem path to read files relative from"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"long": "--themesDir",
|
|
87
|
+
"typeToken": "string",
|
|
88
|
+
"kind": "string",
|
|
89
|
+
"description": "filesystem path to themes directory"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"long": "--unsafe",
|
|
93
|
+
"kind": "boolean",
|
|
94
|
+
"description": "enable less safe operations, please backup first"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"commands": [
|
|
98
|
+
{
|
|
99
|
+
"command": "build",
|
|
100
|
+
"flags": [
|
|
101
|
+
{
|
|
102
|
+
"long": "--baseURL",
|
|
103
|
+
"short": "-b",
|
|
104
|
+
"typeToken": "string",
|
|
105
|
+
"kind": "string",
|
|
106
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"long": "--buildDrafts",
|
|
110
|
+
"short": "-D",
|
|
111
|
+
"kind": "boolean",
|
|
112
|
+
"description": "include content marked as draft"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"long": "--buildExpired",
|
|
116
|
+
"short": "-E",
|
|
117
|
+
"kind": "boolean",
|
|
118
|
+
"description": "include expired content"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"long": "--buildFuture",
|
|
122
|
+
"short": "-F",
|
|
123
|
+
"kind": "boolean",
|
|
124
|
+
"description": "include content with publishdate in the future"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"long": "--cacheDir",
|
|
128
|
+
"typeToken": "string",
|
|
129
|
+
"kind": "string",
|
|
130
|
+
"description": "filesystem path to cache directory"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"long": "--cleanDestinationDir",
|
|
134
|
+
"kind": "boolean",
|
|
135
|
+
"description": "remove files from destination not found in static directories"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"long": "--contentDir",
|
|
139
|
+
"short": "-c",
|
|
140
|
+
"typeToken": "string",
|
|
141
|
+
"kind": "string",
|
|
142
|
+
"description": "filesystem path to content directory"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"long": "--disableKinds",
|
|
146
|
+
"typeToken": "strings",
|
|
147
|
+
"kind": "string[]",
|
|
148
|
+
"description": "disable different kind of pages (home, RSS etc.)"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"long": "--enableGitInfo",
|
|
152
|
+
"kind": "boolean",
|
|
153
|
+
"description": "add Git revision, date, author, and CODEOWNERS info to the pages"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"long": "--forceSyncStatic",
|
|
157
|
+
"kind": "boolean",
|
|
158
|
+
"description": "copy all files when static is changed."
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"long": "--gc",
|
|
162
|
+
"kind": "boolean",
|
|
163
|
+
"description": "enable to run some cleanup tasks (remove unused cache files) after the build"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"long": "--ignoreCache",
|
|
167
|
+
"kind": "boolean",
|
|
168
|
+
"description": "ignores the cache directory"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"long": "--layoutDir",
|
|
172
|
+
"short": "-l",
|
|
173
|
+
"typeToken": "string",
|
|
174
|
+
"kind": "string",
|
|
175
|
+
"description": "filesystem path to layout directory"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"long": "--minify",
|
|
179
|
+
"kind": "boolean",
|
|
180
|
+
"description": "minify any supported output format (HTML, XML etc.)"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"long": "--noChmod",
|
|
184
|
+
"kind": "boolean",
|
|
185
|
+
"description": "don't sync permission mode of files"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"long": "--noTimes",
|
|
189
|
+
"kind": "boolean",
|
|
190
|
+
"description": "don't sync modification time of files"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"long": "--panicOnWarning",
|
|
194
|
+
"kind": "boolean",
|
|
195
|
+
"description": "panic on first WARNING log"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"long": "--poll",
|
|
199
|
+
"typeToken": "string",
|
|
200
|
+
"kind": "string",
|
|
201
|
+
"description": "set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"long": "--printI18nWarnings",
|
|
205
|
+
"kind": "boolean",
|
|
206
|
+
"description": "print missing translations"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"long": "--printMemoryUsage",
|
|
210
|
+
"kind": "boolean",
|
|
211
|
+
"description": "print memory usage to screen at intervals"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"long": "--printPathWarnings",
|
|
215
|
+
"kind": "boolean",
|
|
216
|
+
"description": "print warnings on duplicate target paths etc."
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"long": "--printUnusedTemplates",
|
|
220
|
+
"kind": "boolean",
|
|
221
|
+
"description": "print warnings on unused templates."
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"long": "--renderSegments",
|
|
225
|
+
"typeToken": "strings",
|
|
226
|
+
"kind": "string[]",
|
|
227
|
+
"description": "named segments to render (configured in the segments config)"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"long": "--templateMetrics",
|
|
231
|
+
"kind": "boolean",
|
|
232
|
+
"description": "display metrics about template executions"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"long": "--templateMetricsHints",
|
|
236
|
+
"kind": "boolean",
|
|
237
|
+
"description": "calculate some improvement hints when combined with --templateMetrics"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"long": "--theme",
|
|
241
|
+
"short": "-t",
|
|
242
|
+
"typeToken": "strings",
|
|
243
|
+
"kind": "string[]",
|
|
244
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"long": "--trace",
|
|
248
|
+
"typeToken": "file",
|
|
249
|
+
"kind": "string",
|
|
250
|
+
"description": "write trace to file (not useful in general)"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"long": "--watch",
|
|
254
|
+
"short": "-w",
|
|
255
|
+
"kind": "boolean",
|
|
256
|
+
"description": "watch filesystem for changes and recreate as needed"
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"command": "completion",
|
|
262
|
+
"flags": []
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"command": "completion bash",
|
|
266
|
+
"flags": [
|
|
267
|
+
{
|
|
268
|
+
"long": "--no-descriptions",
|
|
269
|
+
"kind": "boolean",
|
|
270
|
+
"description": "disable completion descriptions"
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"command": "completion fish",
|
|
276
|
+
"flags": [
|
|
277
|
+
{
|
|
278
|
+
"long": "--no-descriptions",
|
|
279
|
+
"kind": "boolean",
|
|
280
|
+
"description": "disable completion descriptions"
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"command": "completion powershell",
|
|
286
|
+
"flags": [
|
|
287
|
+
{
|
|
288
|
+
"long": "--no-descriptions",
|
|
289
|
+
"kind": "boolean",
|
|
290
|
+
"description": "disable completion descriptions"
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"command": "completion zsh",
|
|
296
|
+
"flags": [
|
|
297
|
+
{
|
|
298
|
+
"long": "--no-descriptions",
|
|
299
|
+
"kind": "boolean",
|
|
300
|
+
"description": "disable completion descriptions"
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"command": "config",
|
|
306
|
+
"flags": [
|
|
307
|
+
{
|
|
308
|
+
"long": "--baseURL",
|
|
309
|
+
"short": "-b",
|
|
310
|
+
"typeToken": "string",
|
|
311
|
+
"kind": "string",
|
|
312
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"long": "--cacheDir",
|
|
316
|
+
"typeToken": "string",
|
|
317
|
+
"kind": "string",
|
|
318
|
+
"description": "filesystem path to cache directory"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"long": "--contentDir",
|
|
322
|
+
"short": "-c",
|
|
323
|
+
"typeToken": "string",
|
|
324
|
+
"kind": "string",
|
|
325
|
+
"description": "filesystem path to content directory"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"long": "--format",
|
|
329
|
+
"typeToken": "string",
|
|
330
|
+
"kind": "string",
|
|
331
|
+
"description": "preferred file format (toml, yaml or json)",
|
|
332
|
+
"defaultRaw": "\"toml\""
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"long": "--lang",
|
|
336
|
+
"typeToken": "string",
|
|
337
|
+
"kind": "string",
|
|
338
|
+
"description": "the language to display config for. Defaults to the first language defined."
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"long": "--printZero",
|
|
342
|
+
"kind": "boolean",
|
|
343
|
+
"description": "include config options with zero values (e.g. false, 0, \"\") in the output"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"long": "--renderSegments",
|
|
347
|
+
"typeToken": "strings",
|
|
348
|
+
"kind": "string[]",
|
|
349
|
+
"description": "named segments to render (configured in the segments config)"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"long": "--theme",
|
|
353
|
+
"short": "-t",
|
|
354
|
+
"typeToken": "strings",
|
|
355
|
+
"kind": "string[]",
|
|
356
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"command": "config mounts",
|
|
362
|
+
"flags": [
|
|
363
|
+
{
|
|
364
|
+
"long": "--baseURL",
|
|
365
|
+
"short": "-b",
|
|
366
|
+
"typeToken": "string",
|
|
367
|
+
"kind": "string",
|
|
368
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"long": "--cacheDir",
|
|
372
|
+
"typeToken": "string",
|
|
373
|
+
"kind": "string",
|
|
374
|
+
"description": "filesystem path to cache directory"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"long": "--contentDir",
|
|
378
|
+
"short": "-c",
|
|
379
|
+
"typeToken": "string",
|
|
380
|
+
"kind": "string",
|
|
381
|
+
"description": "filesystem path to content directory"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"long": "--renderSegments",
|
|
385
|
+
"typeToken": "strings",
|
|
386
|
+
"kind": "string[]",
|
|
387
|
+
"description": "named segments to render (configured in the segments config)"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"long": "--theme",
|
|
391
|
+
"short": "-t",
|
|
392
|
+
"typeToken": "strings",
|
|
393
|
+
"kind": "string[]",
|
|
394
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"command": "convert",
|
|
400
|
+
"flags": []
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"command": "convert toJSON",
|
|
404
|
+
"flags": []
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"command": "convert toTOML",
|
|
408
|
+
"flags": []
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"command": "convert toYAML",
|
|
412
|
+
"flags": []
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"command": "env",
|
|
416
|
+
"flags": []
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"command": "gen",
|
|
420
|
+
"flags": []
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"command": "gen doc",
|
|
424
|
+
"flags": [
|
|
425
|
+
{
|
|
426
|
+
"long": "--dir",
|
|
427
|
+
"typeToken": "string",
|
|
428
|
+
"kind": "string",
|
|
429
|
+
"description": "the directory to write the doc.",
|
|
430
|
+
"defaultRaw": "\"/tmp/hugodoc/\""
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"command": "gen man",
|
|
436
|
+
"flags": [
|
|
437
|
+
{
|
|
438
|
+
"long": "--dir",
|
|
439
|
+
"typeToken": "string",
|
|
440
|
+
"kind": "string",
|
|
441
|
+
"description": "the directory to write the man pages.",
|
|
442
|
+
"defaultRaw": "\"man/\""
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"command": "help",
|
|
448
|
+
"flags": []
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"command": "import",
|
|
452
|
+
"flags": []
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"command": "import jekyll",
|
|
456
|
+
"flags": [
|
|
457
|
+
{
|
|
458
|
+
"long": "--force",
|
|
459
|
+
"kind": "boolean",
|
|
460
|
+
"description": "allow import into non-empty target directory"
|
|
461
|
+
}
|
|
462
|
+
]
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"command": "list",
|
|
466
|
+
"flags": []
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"command": "list all",
|
|
470
|
+
"flags": []
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"command": "list drafts",
|
|
474
|
+
"flags": []
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"command": "list expired",
|
|
478
|
+
"flags": []
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"command": "list future",
|
|
482
|
+
"flags": []
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"command": "list published",
|
|
486
|
+
"flags": []
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"command": "mod",
|
|
490
|
+
"flags": []
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"command": "mod clean",
|
|
494
|
+
"flags": [
|
|
495
|
+
{
|
|
496
|
+
"long": "--all",
|
|
497
|
+
"kind": "boolean",
|
|
498
|
+
"description": "clean entire module cache"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"long": "--baseURL",
|
|
502
|
+
"short": "-b",
|
|
503
|
+
"typeToken": "string",
|
|
504
|
+
"kind": "string",
|
|
505
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"long": "--cacheDir",
|
|
509
|
+
"typeToken": "string",
|
|
510
|
+
"kind": "string",
|
|
511
|
+
"description": "filesystem path to cache directory"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"long": "--contentDir",
|
|
515
|
+
"short": "-c",
|
|
516
|
+
"typeToken": "string",
|
|
517
|
+
"kind": "string",
|
|
518
|
+
"description": "filesystem path to content directory"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"long": "--pattern",
|
|
522
|
+
"typeToken": "string",
|
|
523
|
+
"kind": "string",
|
|
524
|
+
"description": "pattern matching module paths to clean (all if not set), e.g. \"**hugo*\""
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"long": "--renderSegments",
|
|
528
|
+
"typeToken": "strings",
|
|
529
|
+
"kind": "string[]",
|
|
530
|
+
"description": "named segments to render (configured in the segments config)"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"long": "--theme",
|
|
534
|
+
"short": "-t",
|
|
535
|
+
"typeToken": "strings",
|
|
536
|
+
"kind": "string[]",
|
|
537
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
538
|
+
}
|
|
539
|
+
]
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"command": "mod get",
|
|
543
|
+
"flags": []
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"command": "mod graph",
|
|
547
|
+
"flags": [
|
|
548
|
+
{
|
|
549
|
+
"long": "--baseURL",
|
|
550
|
+
"short": "-b",
|
|
551
|
+
"typeToken": "string",
|
|
552
|
+
"kind": "string",
|
|
553
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"long": "--cacheDir",
|
|
557
|
+
"typeToken": "string",
|
|
558
|
+
"kind": "string",
|
|
559
|
+
"description": "filesystem path to cache directory"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"long": "--clean",
|
|
563
|
+
"kind": "boolean",
|
|
564
|
+
"description": "delete module cache for dependencies that fail verification"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"long": "--contentDir",
|
|
568
|
+
"short": "-c",
|
|
569
|
+
"typeToken": "string",
|
|
570
|
+
"kind": "string",
|
|
571
|
+
"description": "filesystem path to content directory"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"long": "--renderSegments",
|
|
575
|
+
"typeToken": "strings",
|
|
576
|
+
"kind": "string[]",
|
|
577
|
+
"description": "named segments to render (configured in the segments config)"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"long": "--theme",
|
|
581
|
+
"short": "-t",
|
|
582
|
+
"typeToken": "strings",
|
|
583
|
+
"kind": "string[]",
|
|
584
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
585
|
+
}
|
|
586
|
+
]
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"command": "mod init",
|
|
590
|
+
"flags": [
|
|
591
|
+
{
|
|
592
|
+
"long": "--baseURL",
|
|
593
|
+
"short": "-b",
|
|
594
|
+
"typeToken": "string",
|
|
595
|
+
"kind": "string",
|
|
596
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"long": "--cacheDir",
|
|
600
|
+
"typeToken": "string",
|
|
601
|
+
"kind": "string",
|
|
602
|
+
"description": "filesystem path to cache directory"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"long": "--contentDir",
|
|
606
|
+
"short": "-c",
|
|
607
|
+
"typeToken": "string",
|
|
608
|
+
"kind": "string",
|
|
609
|
+
"description": "filesystem path to content directory"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"long": "--renderSegments",
|
|
613
|
+
"typeToken": "strings",
|
|
614
|
+
"kind": "string[]",
|
|
615
|
+
"description": "named segments to render (configured in the segments config)"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"long": "--theme",
|
|
619
|
+
"short": "-t",
|
|
620
|
+
"typeToken": "strings",
|
|
621
|
+
"kind": "string[]",
|
|
622
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
623
|
+
}
|
|
624
|
+
]
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"command": "mod npm",
|
|
628
|
+
"flags": []
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"command": "mod npm pack",
|
|
632
|
+
"flags": [
|
|
633
|
+
{
|
|
634
|
+
"long": "--baseURL",
|
|
635
|
+
"short": "-b",
|
|
636
|
+
"typeToken": "string",
|
|
637
|
+
"kind": "string",
|
|
638
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"long": "--cacheDir",
|
|
642
|
+
"typeToken": "string",
|
|
643
|
+
"kind": "string",
|
|
644
|
+
"description": "filesystem path to cache directory"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"long": "--contentDir",
|
|
648
|
+
"short": "-c",
|
|
649
|
+
"typeToken": "string",
|
|
650
|
+
"kind": "string",
|
|
651
|
+
"description": "filesystem path to content directory"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"long": "--renderSegments",
|
|
655
|
+
"typeToken": "strings",
|
|
656
|
+
"kind": "string[]",
|
|
657
|
+
"description": "named segments to render (configured in the segments config)"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"long": "--theme",
|
|
661
|
+
"short": "-t",
|
|
662
|
+
"typeToken": "strings",
|
|
663
|
+
"kind": "string[]",
|
|
664
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
665
|
+
}
|
|
666
|
+
]
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"command": "mod tidy",
|
|
670
|
+
"flags": [
|
|
671
|
+
{
|
|
672
|
+
"long": "--baseURL",
|
|
673
|
+
"short": "-b",
|
|
674
|
+
"typeToken": "string",
|
|
675
|
+
"kind": "string",
|
|
676
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"long": "--cacheDir",
|
|
680
|
+
"typeToken": "string",
|
|
681
|
+
"kind": "string",
|
|
682
|
+
"description": "filesystem path to cache directory"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"long": "--contentDir",
|
|
686
|
+
"short": "-c",
|
|
687
|
+
"typeToken": "string",
|
|
688
|
+
"kind": "string",
|
|
689
|
+
"description": "filesystem path to content directory"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"long": "--renderSegments",
|
|
693
|
+
"typeToken": "strings",
|
|
694
|
+
"kind": "string[]",
|
|
695
|
+
"description": "named segments to render (configured in the segments config)"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"long": "--theme",
|
|
699
|
+
"short": "-t",
|
|
700
|
+
"typeToken": "strings",
|
|
701
|
+
"kind": "string[]",
|
|
702
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"command": "mod vendor",
|
|
708
|
+
"flags": [
|
|
709
|
+
{
|
|
710
|
+
"long": "--baseURL",
|
|
711
|
+
"short": "-b",
|
|
712
|
+
"typeToken": "string",
|
|
713
|
+
"kind": "string",
|
|
714
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"long": "--cacheDir",
|
|
718
|
+
"typeToken": "string",
|
|
719
|
+
"kind": "string",
|
|
720
|
+
"description": "filesystem path to cache directory"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"long": "--contentDir",
|
|
724
|
+
"short": "-c",
|
|
725
|
+
"typeToken": "string",
|
|
726
|
+
"kind": "string",
|
|
727
|
+
"description": "filesystem path to content directory"
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"long": "--renderSegments",
|
|
731
|
+
"typeToken": "strings",
|
|
732
|
+
"kind": "string[]",
|
|
733
|
+
"description": "named segments to render (configured in the segments config)"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"long": "--theme",
|
|
737
|
+
"short": "-t",
|
|
738
|
+
"typeToken": "strings",
|
|
739
|
+
"kind": "string[]",
|
|
740
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
741
|
+
}
|
|
742
|
+
]
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"command": "mod verify",
|
|
746
|
+
"flags": [
|
|
747
|
+
{
|
|
748
|
+
"long": "--baseURL",
|
|
749
|
+
"short": "-b",
|
|
750
|
+
"typeToken": "string",
|
|
751
|
+
"kind": "string",
|
|
752
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"long": "--cacheDir",
|
|
756
|
+
"typeToken": "string",
|
|
757
|
+
"kind": "string",
|
|
758
|
+
"description": "filesystem path to cache directory"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"long": "--clean",
|
|
762
|
+
"kind": "boolean",
|
|
763
|
+
"description": "delete module cache for dependencies that fail verification"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"long": "--contentDir",
|
|
767
|
+
"short": "-c",
|
|
768
|
+
"typeToken": "string",
|
|
769
|
+
"kind": "string",
|
|
770
|
+
"description": "filesystem path to content directory"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"long": "--renderSegments",
|
|
774
|
+
"typeToken": "strings",
|
|
775
|
+
"kind": "string[]",
|
|
776
|
+
"description": "named segments to render (configured in the segments config)"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"long": "--theme",
|
|
780
|
+
"short": "-t",
|
|
781
|
+
"typeToken": "strings",
|
|
782
|
+
"kind": "string[]",
|
|
783
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
784
|
+
}
|
|
785
|
+
]
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"command": "new",
|
|
789
|
+
"flags": []
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"command": "new content",
|
|
793
|
+
"flags": [
|
|
794
|
+
{
|
|
795
|
+
"long": "--baseURL",
|
|
796
|
+
"short": "-b",
|
|
797
|
+
"typeToken": "string",
|
|
798
|
+
"kind": "string",
|
|
799
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"long": "--cacheDir",
|
|
803
|
+
"typeToken": "string",
|
|
804
|
+
"kind": "string",
|
|
805
|
+
"description": "filesystem path to cache directory"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"long": "--contentDir",
|
|
809
|
+
"short": "-c",
|
|
810
|
+
"typeToken": "string",
|
|
811
|
+
"kind": "string",
|
|
812
|
+
"description": "filesystem path to content directory"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"long": "--editor",
|
|
816
|
+
"typeToken": "string",
|
|
817
|
+
"kind": "string",
|
|
818
|
+
"description": "edit new content with this editor, if provided"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"long": "--force",
|
|
822
|
+
"short": "-f",
|
|
823
|
+
"kind": "boolean",
|
|
824
|
+
"description": "overwrite file if it already exists"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"long": "--kind",
|
|
828
|
+
"short": "-k",
|
|
829
|
+
"typeToken": "string",
|
|
830
|
+
"kind": "string",
|
|
831
|
+
"description": "content type to create"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"long": "--renderSegments",
|
|
835
|
+
"typeToken": "strings",
|
|
836
|
+
"kind": "string[]",
|
|
837
|
+
"description": "named segments to render (configured in the segments config)"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"long": "--theme",
|
|
841
|
+
"short": "-t",
|
|
842
|
+
"typeToken": "strings",
|
|
843
|
+
"kind": "string[]",
|
|
844
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
845
|
+
}
|
|
846
|
+
]
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"command": "new site",
|
|
850
|
+
"flags": [
|
|
851
|
+
{
|
|
852
|
+
"long": "--force",
|
|
853
|
+
"short": "-f",
|
|
854
|
+
"kind": "boolean",
|
|
855
|
+
"description": "init inside non-empty directory"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"long": "--format",
|
|
859
|
+
"typeToken": "string",
|
|
860
|
+
"kind": "string",
|
|
861
|
+
"description": "preferred file format (toml, yaml or json)",
|
|
862
|
+
"defaultRaw": "\"toml\""
|
|
863
|
+
}
|
|
864
|
+
]
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"command": "new theme",
|
|
868
|
+
"flags": [
|
|
869
|
+
{
|
|
870
|
+
"long": "--format",
|
|
871
|
+
"typeToken": "string",
|
|
872
|
+
"kind": "string",
|
|
873
|
+
"description": "preferred file format (toml, yaml or json)",
|
|
874
|
+
"defaultRaw": "\"toml\""
|
|
875
|
+
}
|
|
876
|
+
]
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"command": "server",
|
|
880
|
+
"flags": [
|
|
881
|
+
{
|
|
882
|
+
"long": "--appendPort",
|
|
883
|
+
"kind": "boolean",
|
|
884
|
+
"description": "append port to baseURL",
|
|
885
|
+
"defaultRaw": "true"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"long": "--baseURL",
|
|
889
|
+
"short": "-b",
|
|
890
|
+
"typeToken": "string",
|
|
891
|
+
"kind": "string",
|
|
892
|
+
"description": "hostname (and path) to the root, e.g. https://spf13.com/"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"long": "--bind",
|
|
896
|
+
"typeToken": "string",
|
|
897
|
+
"kind": "string",
|
|
898
|
+
"description": "interface to which the server will bind",
|
|
899
|
+
"defaultRaw": "\"127.0.0.1\""
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"long": "--buildDrafts",
|
|
903
|
+
"short": "-D",
|
|
904
|
+
"kind": "boolean",
|
|
905
|
+
"description": "include content marked as draft"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"long": "--buildExpired",
|
|
909
|
+
"short": "-E",
|
|
910
|
+
"kind": "boolean",
|
|
911
|
+
"description": "include expired content"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"long": "--buildFuture",
|
|
915
|
+
"short": "-F",
|
|
916
|
+
"kind": "boolean",
|
|
917
|
+
"description": "include content with publishdate in the future"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"long": "--cacheDir",
|
|
921
|
+
"typeToken": "string",
|
|
922
|
+
"kind": "string",
|
|
923
|
+
"description": "filesystem path to cache directory"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"long": "--cleanDestinationDir",
|
|
927
|
+
"kind": "boolean",
|
|
928
|
+
"description": "remove files from destination not found in static directories"
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"long": "--contentDir",
|
|
932
|
+
"short": "-c",
|
|
933
|
+
"typeToken": "string",
|
|
934
|
+
"kind": "string",
|
|
935
|
+
"description": "filesystem path to content directory"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"long": "--disableBrowserError",
|
|
939
|
+
"kind": "boolean",
|
|
940
|
+
"description": "do not show build errors in the browser"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"long": "--disableFastRender",
|
|
944
|
+
"kind": "boolean",
|
|
945
|
+
"description": "enables full re-renders on changes"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"long": "--disableKinds",
|
|
949
|
+
"typeToken": "strings",
|
|
950
|
+
"kind": "string[]",
|
|
951
|
+
"description": "disable different kind of pages (home, RSS etc.)"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"long": "--disableLiveReload",
|
|
955
|
+
"kind": "boolean",
|
|
956
|
+
"description": "watch without enabling live browser reload on rebuild"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"long": "--enableGitInfo",
|
|
960
|
+
"kind": "boolean",
|
|
961
|
+
"description": "add Git revision, date, author, and CODEOWNERS info to the pages"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"long": "--forceSyncStatic",
|
|
965
|
+
"kind": "boolean",
|
|
966
|
+
"description": "copy all files when static is changed."
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"long": "--gc",
|
|
970
|
+
"kind": "boolean",
|
|
971
|
+
"description": "enable to run some cleanup tasks (remove unused cache files) after the build"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"long": "--ignoreCache",
|
|
975
|
+
"kind": "boolean",
|
|
976
|
+
"description": "ignores the cache directory"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"long": "--layoutDir",
|
|
980
|
+
"short": "-l",
|
|
981
|
+
"typeToken": "string",
|
|
982
|
+
"kind": "string",
|
|
983
|
+
"description": "filesystem path to layout directory"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"long": "--liveReloadPort",
|
|
987
|
+
"typeToken": "int",
|
|
988
|
+
"kind": "number",
|
|
989
|
+
"description": "port for live reloading (i.e. 443 in HTTPS proxy situations)",
|
|
990
|
+
"defaultRaw": "-1"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"long": "--minify",
|
|
994
|
+
"kind": "boolean",
|
|
995
|
+
"description": "minify any supported output format (HTML, XML etc.)"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"long": "--navigateToChanged",
|
|
999
|
+
"short": "-N",
|
|
1000
|
+
"kind": "boolean",
|
|
1001
|
+
"description": "navigate to changed content file on live browser reload"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"long": "--noChmod",
|
|
1005
|
+
"kind": "boolean",
|
|
1006
|
+
"description": "don't sync permission mode of files"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"long": "--noHTTPCache",
|
|
1010
|
+
"kind": "boolean",
|
|
1011
|
+
"description": "prevent HTTP caching"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"long": "--noTimes",
|
|
1015
|
+
"kind": "boolean",
|
|
1016
|
+
"description": "don't sync modification time of files"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"long": "--openBrowser",
|
|
1020
|
+
"short": "-O",
|
|
1021
|
+
"kind": "boolean",
|
|
1022
|
+
"description": "open the site in a browser after server startup"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"long": "--panicOnWarning",
|
|
1026
|
+
"kind": "boolean",
|
|
1027
|
+
"description": "panic on first WARNING log"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"long": "--poll",
|
|
1031
|
+
"typeToken": "string",
|
|
1032
|
+
"kind": "string",
|
|
1033
|
+
"description": "set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"long": "--port",
|
|
1037
|
+
"short": "-p",
|
|
1038
|
+
"typeToken": "int",
|
|
1039
|
+
"kind": "number",
|
|
1040
|
+
"description": "port on which the server will listen",
|
|
1041
|
+
"defaultRaw": "1313"
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"long": "--pprof",
|
|
1045
|
+
"kind": "boolean",
|
|
1046
|
+
"description": "enable the pprof server (port 8080)"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"long": "--printI18nWarnings",
|
|
1050
|
+
"kind": "boolean",
|
|
1051
|
+
"description": "print missing translations"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"long": "--printMemoryUsage",
|
|
1055
|
+
"kind": "boolean",
|
|
1056
|
+
"description": "print memory usage to screen at intervals"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"long": "--printPathWarnings",
|
|
1060
|
+
"kind": "boolean",
|
|
1061
|
+
"description": "print warnings on duplicate target paths etc."
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"long": "--printUnusedTemplates",
|
|
1065
|
+
"kind": "boolean",
|
|
1066
|
+
"description": "print warnings on unused templates."
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"long": "--renderSegments",
|
|
1070
|
+
"typeToken": "strings",
|
|
1071
|
+
"kind": "string[]",
|
|
1072
|
+
"description": "named segments to render (configured in the segments config)"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"long": "--renderStaticToDisk",
|
|
1076
|
+
"kind": "boolean",
|
|
1077
|
+
"description": "serve static files from disk and dynamic files from memory"
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"long": "--templateMetrics",
|
|
1081
|
+
"kind": "boolean",
|
|
1082
|
+
"description": "display metrics about template executions"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"long": "--templateMetricsHints",
|
|
1086
|
+
"kind": "boolean",
|
|
1087
|
+
"description": "calculate some improvement hints when combined with --templateMetrics"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"long": "--theme",
|
|
1091
|
+
"short": "-t",
|
|
1092
|
+
"typeToken": "strings",
|
|
1093
|
+
"kind": "string[]",
|
|
1094
|
+
"description": "themes to use (located in /themes/THEMENAME/)"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"long": "--tlsAuto",
|
|
1098
|
+
"kind": "boolean",
|
|
1099
|
+
"description": "generate and use locally-trusted certificates."
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"long": "--tlsCertFile",
|
|
1103
|
+
"typeToken": "string",
|
|
1104
|
+
"kind": "string",
|
|
1105
|
+
"description": "path to TLS certificate file"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"long": "--tlsKeyFile",
|
|
1109
|
+
"typeToken": "string",
|
|
1110
|
+
"kind": "string",
|
|
1111
|
+
"description": "path to TLS key file"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"long": "--trace",
|
|
1115
|
+
"typeToken": "file",
|
|
1116
|
+
"kind": "string",
|
|
1117
|
+
"description": "write trace to file (not useful in general)"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"long": "--watch",
|
|
1121
|
+
"short": "-w",
|
|
1122
|
+
"kind": "boolean",
|
|
1123
|
+
"description": "watch filesystem for changes and recreate as needed",
|
|
1124
|
+
"defaultRaw": "true"
|
|
1125
|
+
}
|
|
1126
|
+
]
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"command": "server trust",
|
|
1130
|
+
"flags": [
|
|
1131
|
+
{
|
|
1132
|
+
"long": "--uninstall",
|
|
1133
|
+
"kind": "boolean",
|
|
1134
|
+
"description": "Uninstall the local CA (but do not delete it)."
|
|
1135
|
+
}
|
|
1136
|
+
]
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"command": "version",
|
|
1140
|
+
"flags": []
|
|
1141
|
+
}
|
|
1142
|
+
]
|
|
1143
|
+
}
|