oclif 4.0.0-beta.2 → 4.0.0-beta.3
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/.oclif.manifest.json +263 -263
- package/bin/dev.js +1 -1
- package/bin/run.js +1 -0
- package/lib/aws.js +1 -1
- package/lib/commands/manifest.d.ts +1 -1
- package/lib/commands/manifest.js +34 -34
- package/lib/commands/pack/win.d.ts +1 -1
- package/lib/commands/pack/win.js +13 -13
- package/lib/commands/readme.d.ts +7 -7
- package/lib/commands/readme.js +72 -72
- package/lib/generators/cli.d.ts +1 -1
- package/lib/generators/cli.js +17 -17
- package/lib/generators/command.d.ts +1 -1
- package/lib/generators/command.js +3 -3
- package/lib/generators/hook.d.ts +1 -1
- package/lib/generators/hook.js +3 -3
- package/package.json +2 -2
package/.oclif.manifest.json
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.0-beta.2",
|
|
3
2
|
"commands": {
|
|
4
3
|
"generate": {
|
|
5
|
-
"id": "generate",
|
|
6
|
-
"description": "generate a new CLI\nThis will clone the template repo 'oclif/hello-world' and update package properties",
|
|
7
|
-
"strict": true,
|
|
8
|
-
"pluginName": "oclif",
|
|
9
|
-
"pluginAlias": "oclif",
|
|
10
|
-
"pluginType": "core",
|
|
11
4
|
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"name": {
|
|
7
|
+
"description": "directory name of new project",
|
|
8
|
+
"name": "name",
|
|
9
|
+
"required": true
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"description": "generate a new CLI\nThis will clone the template repo 'oclif/hello-world' and update package properties",
|
|
12
13
|
"flags": {
|
|
13
14
|
"defaults": {
|
|
14
|
-
"name": "defaults",
|
|
15
15
|
"hidden": true,
|
|
16
|
+
"name": "defaults",
|
|
16
17
|
"allowNo": false,
|
|
17
18
|
"type": "boolean"
|
|
18
19
|
}
|
|
19
20
|
},
|
|
20
|
-
"args": {
|
|
21
|
-
"name": {
|
|
22
|
-
"name": "name",
|
|
23
|
-
"description": "directory name of new project",
|
|
24
|
-
"required": true
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
21
|
"hasDynamicHelp": false,
|
|
22
|
+
"id": "generate",
|
|
23
|
+
"pluginAlias": "oclif",
|
|
24
|
+
"pluginName": "oclif",
|
|
25
|
+
"pluginType": "core",
|
|
26
|
+
"strict": true,
|
|
28
27
|
"isESM": false,
|
|
29
28
|
"relativePath": [
|
|
30
29
|
"src",
|
|
@@ -33,17 +32,17 @@
|
|
|
33
32
|
]
|
|
34
33
|
},
|
|
35
34
|
"lock": {
|
|
36
|
-
"id": "lock",
|
|
37
|
-
"summary": "Copy the yarn.lock to oclif.lock",
|
|
38
|
-
"description": "Using oclif.lock allows your plugins dependencies to be locked to the version specified in the lock file during plugin install.\nOnce the oclif.lock file is created you can include it your npm package by adding it to the files property of your package.json. We do not recommend committing the oclif.lock file to git.",
|
|
39
|
-
"strict": true,
|
|
40
|
-
"pluginName": "oclif",
|
|
41
|
-
"pluginAlias": "oclif",
|
|
42
|
-
"pluginType": "core",
|
|
43
35
|
"aliases": [],
|
|
44
|
-
"flags": {},
|
|
45
36
|
"args": {},
|
|
37
|
+
"description": "Using oclif.lock allows your plugins dependencies to be locked to the version specified in the lock file during plugin install.\nOnce the oclif.lock file is created you can include it your npm package by adding it to the files property of your package.json. We do not recommend committing the oclif.lock file to git.",
|
|
38
|
+
"flags": {},
|
|
46
39
|
"hasDynamicHelp": false,
|
|
40
|
+
"id": "lock",
|
|
41
|
+
"pluginAlias": "oclif",
|
|
42
|
+
"pluginName": "oclif",
|
|
43
|
+
"pluginType": "core",
|
|
44
|
+
"strict": true,
|
|
45
|
+
"summary": "Copy the yarn.lock to oclif.lock",
|
|
47
46
|
"enableJsonFlag": false,
|
|
48
47
|
"isESM": false,
|
|
49
48
|
"relativePath": [
|
|
@@ -53,13 +52,15 @@
|
|
|
53
52
|
]
|
|
54
53
|
},
|
|
55
54
|
"manifest": {
|
|
56
|
-
"id": "manifest",
|
|
57
|
-
"description": "generates plugin manifest json",
|
|
58
|
-
"strict": true,
|
|
59
|
-
"pluginName": "oclif",
|
|
60
|
-
"pluginAlias": "oclif",
|
|
61
|
-
"pluginType": "core",
|
|
62
55
|
"aliases": [],
|
|
56
|
+
"args": {
|
|
57
|
+
"path": {
|
|
58
|
+
"default": ".",
|
|
59
|
+
"description": "path to plugin",
|
|
60
|
+
"name": "path"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"description": "generates plugin manifest json",
|
|
63
64
|
"flags": {
|
|
64
65
|
"jit": {
|
|
65
66
|
"name": "jit",
|
|
@@ -68,14 +69,12 @@
|
|
|
68
69
|
"type": "boolean"
|
|
69
70
|
}
|
|
70
71
|
},
|
|
71
|
-
"args": {
|
|
72
|
-
"path": {
|
|
73
|
-
"name": "path",
|
|
74
|
-
"description": "path to plugin",
|
|
75
|
-
"default": "."
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
72
|
"hasDynamicHelp": false,
|
|
73
|
+
"id": "manifest",
|
|
74
|
+
"pluginAlias": "oclif",
|
|
75
|
+
"pluginName": "oclif",
|
|
76
|
+
"pluginType": "core",
|
|
77
|
+
"strict": true,
|
|
79
78
|
"enableJsonFlag": false,
|
|
80
79
|
"isESM": false,
|
|
81
80
|
"relativePath": [
|
|
@@ -85,102 +84,102 @@
|
|
|
85
84
|
]
|
|
86
85
|
},
|
|
87
86
|
"promote": {
|
|
88
|
-
"id": "promote",
|
|
89
|
-
"description": "promote CLI builds to a S3 release channel",
|
|
90
|
-
"strict": true,
|
|
91
|
-
"pluginName": "oclif",
|
|
92
|
-
"pluginAlias": "oclif",
|
|
93
|
-
"pluginType": "core",
|
|
94
87
|
"aliases": [],
|
|
88
|
+
"args": {},
|
|
89
|
+
"description": "promote CLI builds to a S3 release channel",
|
|
95
90
|
"flags": {
|
|
96
91
|
"channel": {
|
|
92
|
+
"description": "which channel to promote to",
|
|
97
93
|
"name": "channel",
|
|
98
94
|
"required": true,
|
|
99
|
-
"description": "which channel to promote to",
|
|
100
|
-
"type": "option",
|
|
101
|
-
"multiple": false,
|
|
102
95
|
"default": "stable",
|
|
103
|
-
"hasDynamicHelp": false
|
|
96
|
+
"hasDynamicHelp": false,
|
|
97
|
+
"multiple": false,
|
|
98
|
+
"type": "option"
|
|
104
99
|
},
|
|
105
100
|
"deb": {
|
|
106
|
-
"name": "deb",
|
|
107
101
|
"char": "d",
|
|
108
102
|
"description": "promote debian artifacts",
|
|
103
|
+
"name": "deb",
|
|
109
104
|
"allowNo": false,
|
|
110
105
|
"type": "boolean"
|
|
111
106
|
},
|
|
112
107
|
"indexes": {
|
|
113
|
-
"name": "indexes",
|
|
114
108
|
"description": "append the promoted urls into the index files",
|
|
109
|
+
"name": "indexes",
|
|
115
110
|
"allowNo": false,
|
|
116
111
|
"type": "boolean"
|
|
117
112
|
},
|
|
118
113
|
"macos": {
|
|
119
|
-
"name": "macos",
|
|
120
114
|
"char": "m",
|
|
121
115
|
"description": "promote macOS pkg",
|
|
116
|
+
"name": "macos",
|
|
122
117
|
"allowNo": false,
|
|
123
118
|
"type": "boolean"
|
|
124
119
|
},
|
|
125
120
|
"max-age": {
|
|
126
|
-
"name": "max-age",
|
|
127
121
|
"char": "a",
|
|
128
122
|
"description": "cache control max-age in seconds",
|
|
129
|
-
"
|
|
130
|
-
"multiple": false,
|
|
123
|
+
"name": "max-age",
|
|
131
124
|
"default": "86400",
|
|
132
|
-
"hasDynamicHelp": false
|
|
125
|
+
"hasDynamicHelp": false,
|
|
126
|
+
"multiple": false,
|
|
127
|
+
"type": "option"
|
|
133
128
|
},
|
|
134
129
|
"root": {
|
|
135
|
-
"name": "root",
|
|
136
130
|
"char": "r",
|
|
137
|
-
"required": true,
|
|
138
131
|
"description": "path to the oclif CLI project root",
|
|
139
|
-
"
|
|
140
|
-
"
|
|
132
|
+
"name": "root",
|
|
133
|
+
"required": true,
|
|
141
134
|
"default": ".",
|
|
142
|
-
"hasDynamicHelp": false
|
|
135
|
+
"hasDynamicHelp": false,
|
|
136
|
+
"multiple": false,
|
|
137
|
+
"type": "option"
|
|
143
138
|
},
|
|
144
139
|
"sha": {
|
|
140
|
+
"description": "7-digit short git commit SHA of the CLI to promote",
|
|
145
141
|
"name": "sha",
|
|
146
142
|
"required": true,
|
|
147
|
-
"
|
|
148
|
-
"type": "option",
|
|
143
|
+
"hasDynamicHelp": false,
|
|
149
144
|
"multiple": false,
|
|
150
|
-
"
|
|
145
|
+
"type": "option"
|
|
151
146
|
},
|
|
152
147
|
"targets": {
|
|
153
|
-
"name": "targets",
|
|
154
148
|
"char": "t",
|
|
155
149
|
"description": "comma-separated targets to promote (e.g.: linux-arm,win32-x64)",
|
|
156
|
-
"
|
|
150
|
+
"name": "targets",
|
|
151
|
+
"hasDynamicHelp": false,
|
|
157
152
|
"multiple": false,
|
|
158
|
-
"
|
|
153
|
+
"type": "option"
|
|
159
154
|
},
|
|
160
155
|
"version": {
|
|
156
|
+
"description": "semantic version of the CLI to promote",
|
|
161
157
|
"name": "version",
|
|
162
158
|
"required": true,
|
|
163
|
-
"
|
|
164
|
-
"type": "option",
|
|
159
|
+
"hasDynamicHelp": false,
|
|
165
160
|
"multiple": false,
|
|
166
|
-
"
|
|
161
|
+
"type": "option"
|
|
167
162
|
},
|
|
168
163
|
"win": {
|
|
169
|
-
"name": "win",
|
|
170
164
|
"char": "w",
|
|
171
165
|
"description": "promote Windows exe",
|
|
166
|
+
"name": "win",
|
|
172
167
|
"allowNo": false,
|
|
173
168
|
"type": "boolean"
|
|
174
169
|
},
|
|
175
170
|
"xz": {
|
|
176
|
-
"name": "xz",
|
|
177
171
|
"description": "also upload xz",
|
|
172
|
+
"name": "xz",
|
|
178
173
|
"allowNo": true,
|
|
179
174
|
"type": "boolean"
|
|
180
175
|
}
|
|
181
176
|
},
|
|
182
|
-
"args": {},
|
|
183
177
|
"hasDynamicHelp": false,
|
|
178
|
+
"id": "promote",
|
|
179
|
+
"pluginAlias": "oclif",
|
|
180
|
+
"pluginName": "oclif",
|
|
181
|
+
"pluginType": "core",
|
|
182
|
+
"strict": true,
|
|
184
183
|
"enableJsonFlag": false,
|
|
185
184
|
"isESM": false,
|
|
186
185
|
"relativePath": [
|
|
@@ -190,52 +189,52 @@
|
|
|
190
189
|
]
|
|
191
190
|
},
|
|
192
191
|
"readme": {
|
|
193
|
-
"id": "readme",
|
|
194
|
-
"description": "adds commands to README.md in current directory\nThe readme must have any of the following tags inside of it for it to be replaced or else it will do nothing:\n# Usage\n<!-- usage -->\n# Commands\n<!-- commands -->\n# Table of contents\n<!-- toc -->\n\nCustomize the code URL prefix by setting oclif.repositoryPrefix in package.json.\n",
|
|
195
|
-
"strict": true,
|
|
196
|
-
"pluginName": "oclif",
|
|
197
|
-
"pluginAlias": "oclif",
|
|
198
|
-
"pluginType": "core",
|
|
199
192
|
"aliases": [],
|
|
193
|
+
"args": {},
|
|
194
|
+
"description": "adds commands to README.md in current directory\nThe readme must have any of the following tags inside of it for it to be replaced or else it will do nothing:\n# Usage\n<!-- usage -->\n# Commands\n<!-- commands -->\n# Table of contents\n<!-- toc -->\n\nCustomize the code URL prefix by setting oclif.repositoryPrefix in package.json.\n",
|
|
200
195
|
"flags": {
|
|
201
196
|
"aliases": {
|
|
202
|
-
"name": "aliases",
|
|
203
197
|
"description": "include aliases in the command list",
|
|
198
|
+
"name": "aliases",
|
|
204
199
|
"allowNo": true,
|
|
205
200
|
"type": "boolean"
|
|
206
201
|
},
|
|
207
202
|
"dir": {
|
|
203
|
+
"description": "output directory for multi docs",
|
|
208
204
|
"name": "dir",
|
|
209
205
|
"required": true,
|
|
210
|
-
"description": "output directory for multi docs",
|
|
211
|
-
"type": "option",
|
|
212
|
-
"multiple": false,
|
|
213
206
|
"default": "docs",
|
|
214
|
-
"hasDynamicHelp": false
|
|
207
|
+
"hasDynamicHelp": false,
|
|
208
|
+
"multiple": false,
|
|
209
|
+
"type": "option"
|
|
215
210
|
},
|
|
216
211
|
"multi": {
|
|
217
|
-
"name": "multi",
|
|
218
212
|
"description": "create a different markdown page for each topic",
|
|
213
|
+
"name": "multi",
|
|
219
214
|
"allowNo": false,
|
|
220
215
|
"type": "boolean"
|
|
221
216
|
},
|
|
222
217
|
"repository-prefix": {
|
|
223
|
-
"name": "repository-prefix",
|
|
224
218
|
"description": "a template string used to build links to the source code",
|
|
225
|
-
"
|
|
219
|
+
"name": "repository-prefix",
|
|
220
|
+
"hasDynamicHelp": false,
|
|
226
221
|
"multiple": false,
|
|
227
|
-
"
|
|
222
|
+
"type": "option"
|
|
228
223
|
},
|
|
229
224
|
"version": {
|
|
230
|
-
"name": "version",
|
|
231
225
|
"description": "version to use in readme links. defaults to the version in package.json",
|
|
232
|
-
"
|
|
226
|
+
"name": "version",
|
|
227
|
+
"hasDynamicHelp": false,
|
|
233
228
|
"multiple": false,
|
|
234
|
-
"
|
|
229
|
+
"type": "option"
|
|
235
230
|
}
|
|
236
231
|
},
|
|
237
|
-
"args": {},
|
|
238
232
|
"hasDynamicHelp": false,
|
|
233
|
+
"id": "readme",
|
|
234
|
+
"pluginAlias": "oclif",
|
|
235
|
+
"pluginName": "oclif",
|
|
236
|
+
"pluginType": "core",
|
|
237
|
+
"strict": true,
|
|
239
238
|
"enableJsonFlag": false,
|
|
240
239
|
"isESM": false,
|
|
241
240
|
"relativePath": [
|
|
@@ -245,29 +244,29 @@
|
|
|
245
244
|
]
|
|
246
245
|
},
|
|
247
246
|
"generate:command": {
|
|
248
|
-
"id": "generate:command",
|
|
249
|
-
"description": "add a command to an existing CLI or plugin",
|
|
250
|
-
"strict": true,
|
|
251
|
-
"pluginName": "oclif",
|
|
252
|
-
"pluginAlias": "oclif",
|
|
253
|
-
"pluginType": "core",
|
|
254
247
|
"aliases": [],
|
|
248
|
+
"args": {
|
|
249
|
+
"name": {
|
|
250
|
+
"description": "name of command",
|
|
251
|
+
"name": "name",
|
|
252
|
+
"required": true
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"description": "add a command to an existing CLI or plugin",
|
|
255
256
|
"flags": {
|
|
256
257
|
"force": {
|
|
257
|
-
"name": "force",
|
|
258
258
|
"description": "overwrite existing files",
|
|
259
|
+
"name": "force",
|
|
259
260
|
"allowNo": false,
|
|
260
261
|
"type": "boolean"
|
|
261
262
|
}
|
|
262
263
|
},
|
|
263
|
-
"args": {
|
|
264
|
-
"name": {
|
|
265
|
-
"name": "name",
|
|
266
|
-
"description": "name of command",
|
|
267
|
-
"required": true
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
264
|
"hasDynamicHelp": false,
|
|
265
|
+
"id": "generate:command",
|
|
266
|
+
"pluginAlias": "oclif",
|
|
267
|
+
"pluginName": "oclif",
|
|
268
|
+
"pluginType": "core",
|
|
269
|
+
"strict": true,
|
|
271
270
|
"isESM": false,
|
|
272
271
|
"relativePath": [
|
|
273
272
|
"src",
|
|
@@ -277,37 +276,37 @@
|
|
|
277
276
|
]
|
|
278
277
|
},
|
|
279
278
|
"generate:hook": {
|
|
280
|
-
"id": "generate:hook",
|
|
281
|
-
"description": "add a hook to an existing CLI or plugin",
|
|
282
|
-
"strict": true,
|
|
283
|
-
"pluginName": "oclif",
|
|
284
|
-
"pluginAlias": "oclif",
|
|
285
|
-
"pluginType": "core",
|
|
286
279
|
"aliases": [],
|
|
280
|
+
"args": {
|
|
281
|
+
"name": {
|
|
282
|
+
"description": "name of hook (snake_case)",
|
|
283
|
+
"name": "name",
|
|
284
|
+
"required": true
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"description": "add a hook to an existing CLI or plugin",
|
|
287
288
|
"flags": {
|
|
288
289
|
"event": {
|
|
289
|
-
"name": "event",
|
|
290
290
|
"description": "event to run hook on",
|
|
291
|
-
"
|
|
292
|
-
"multiple": false,
|
|
291
|
+
"name": "event",
|
|
293
292
|
"default": "init",
|
|
294
|
-
"hasDynamicHelp": false
|
|
293
|
+
"hasDynamicHelp": false,
|
|
294
|
+
"multiple": false,
|
|
295
|
+
"type": "option"
|
|
295
296
|
},
|
|
296
297
|
"force": {
|
|
297
|
-
"name": "force",
|
|
298
298
|
"description": "overwrite existing files",
|
|
299
|
+
"name": "force",
|
|
299
300
|
"allowNo": false,
|
|
300
301
|
"type": "boolean"
|
|
301
302
|
}
|
|
302
303
|
},
|
|
303
|
-
"args": {
|
|
304
|
-
"name": {
|
|
305
|
-
"name": "name",
|
|
306
|
-
"description": "name of hook (snake_case)",
|
|
307
|
-
"required": true
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
304
|
"hasDynamicHelp": false,
|
|
305
|
+
"id": "generate:hook",
|
|
306
|
+
"pluginAlias": "oclif",
|
|
307
|
+
"pluginName": "oclif",
|
|
308
|
+
"pluginType": "core",
|
|
309
|
+
"strict": true,
|
|
311
310
|
"isESM": false,
|
|
312
311
|
"relativePath": [
|
|
313
312
|
"src",
|
|
@@ -317,36 +316,36 @@
|
|
|
317
316
|
]
|
|
318
317
|
},
|
|
319
318
|
"pack:deb": {
|
|
320
|
-
"id": "pack:deb",
|
|
321
|
-
"description": "pack CLI into debian package",
|
|
322
|
-
"strict": true,
|
|
323
|
-
"pluginName": "oclif",
|
|
324
|
-
"pluginAlias": "oclif",
|
|
325
|
-
"pluginType": "core",
|
|
326
319
|
"aliases": [],
|
|
320
|
+
"args": {},
|
|
321
|
+
"description": "pack CLI into debian package",
|
|
327
322
|
"flags": {
|
|
328
323
|
"root": {
|
|
329
|
-
"name": "root",
|
|
330
324
|
"char": "r",
|
|
331
|
-
"required": true,
|
|
332
325
|
"description": "path to oclif CLI root",
|
|
333
|
-
"
|
|
334
|
-
"
|
|
326
|
+
"name": "root",
|
|
327
|
+
"required": true,
|
|
335
328
|
"default": ".",
|
|
336
|
-
"hasDynamicHelp": false
|
|
329
|
+
"hasDynamicHelp": false,
|
|
330
|
+
"multiple": false,
|
|
331
|
+
"type": "option"
|
|
337
332
|
},
|
|
338
333
|
"tarball": {
|
|
339
|
-
"name": "tarball",
|
|
340
334
|
"char": "t",
|
|
341
|
-
"required": false,
|
|
342
335
|
"description": "optionally specify a path to a tarball already generated by NPM",
|
|
343
|
-
"
|
|
336
|
+
"name": "tarball",
|
|
337
|
+
"required": false,
|
|
338
|
+
"hasDynamicHelp": false,
|
|
344
339
|
"multiple": false,
|
|
345
|
-
"
|
|
340
|
+
"type": "option"
|
|
346
341
|
}
|
|
347
342
|
},
|
|
348
|
-
"args": {},
|
|
349
343
|
"hasDynamicHelp": false,
|
|
344
|
+
"id": "pack:deb",
|
|
345
|
+
"pluginAlias": "oclif",
|
|
346
|
+
"pluginName": "oclif",
|
|
347
|
+
"pluginType": "core",
|
|
348
|
+
"strict": true,
|
|
350
349
|
"enableJsonFlag": false,
|
|
351
350
|
"isESM": false,
|
|
352
351
|
"relativePath": [
|
|
@@ -357,51 +356,51 @@
|
|
|
357
356
|
]
|
|
358
357
|
},
|
|
359
358
|
"pack:macos": {
|
|
360
|
-
"id": "pack:macos",
|
|
361
|
-
"description": "pack CLI into macOS .pkg",
|
|
362
|
-
"strict": true,
|
|
363
|
-
"pluginName": "oclif",
|
|
364
|
-
"pluginAlias": "oclif",
|
|
365
|
-
"pluginType": "core",
|
|
366
359
|
"aliases": [],
|
|
360
|
+
"args": {},
|
|
361
|
+
"description": "pack CLI into macOS .pkg",
|
|
367
362
|
"flags": {
|
|
368
363
|
"additional-cli": {
|
|
369
|
-
"name": "additional-cli",
|
|
370
|
-
"hidden": true,
|
|
371
364
|
"description": "an Oclif CLI other than the one listed in config.bin that should be made available to the user\nthe CLI should already exist in a directory named after the CLI that is the root of the tarball produced by \"oclif pack:tarballs\"",
|
|
372
|
-
"
|
|
365
|
+
"hidden": true,
|
|
366
|
+
"name": "additional-cli",
|
|
367
|
+
"hasDynamicHelp": false,
|
|
373
368
|
"multiple": false,
|
|
374
|
-
"
|
|
369
|
+
"type": "option"
|
|
375
370
|
},
|
|
376
371
|
"root": {
|
|
377
|
-
"name": "root",
|
|
378
372
|
"char": "r",
|
|
379
|
-
"required": true,
|
|
380
373
|
"description": "path to oclif CLI root",
|
|
381
|
-
"
|
|
382
|
-
"
|
|
374
|
+
"name": "root",
|
|
375
|
+
"required": true,
|
|
383
376
|
"default": ".",
|
|
384
|
-
"hasDynamicHelp": false
|
|
377
|
+
"hasDynamicHelp": false,
|
|
378
|
+
"multiple": false,
|
|
379
|
+
"type": "option"
|
|
385
380
|
},
|
|
386
381
|
"tarball": {
|
|
387
|
-
"name": "tarball",
|
|
388
382
|
"char": "t",
|
|
389
|
-
"required": false,
|
|
390
383
|
"description": "optionally specify a path to a tarball already generated by NPM",
|
|
391
|
-
"
|
|
384
|
+
"name": "tarball",
|
|
385
|
+
"required": false,
|
|
386
|
+
"hasDynamicHelp": false,
|
|
392
387
|
"multiple": false,
|
|
393
|
-
"
|
|
388
|
+
"type": "option"
|
|
394
389
|
},
|
|
395
390
|
"targets": {
|
|
396
|
-
"name": "targets",
|
|
397
391
|
"description": "comma-separated targets to pack (e.g.: darwin-x64,darwin-arm64)",
|
|
398
|
-
"
|
|
392
|
+
"name": "targets",
|
|
393
|
+
"hasDynamicHelp": false,
|
|
399
394
|
"multiple": false,
|
|
400
|
-
"
|
|
395
|
+
"type": "option"
|
|
401
396
|
}
|
|
402
397
|
},
|
|
403
|
-
"args": {},
|
|
404
398
|
"hasDynamicHelp": false,
|
|
399
|
+
"id": "pack:macos",
|
|
400
|
+
"pluginAlias": "oclif",
|
|
401
|
+
"pluginName": "oclif",
|
|
402
|
+
"pluginType": "core",
|
|
403
|
+
"strict": true,
|
|
405
404
|
"enableJsonFlag": false,
|
|
406
405
|
"isESM": false,
|
|
407
406
|
"relativePath": [
|
|
@@ -412,56 +411,56 @@
|
|
|
412
411
|
]
|
|
413
412
|
},
|
|
414
413
|
"pack:tarballs": {
|
|
415
|
-
"id": "pack:tarballs",
|
|
416
|
-
"description": "packages oclif CLI into tarballs\n\nThis can be used to create oclif CLIs that use the system node or that come preloaded with a node binary.\n",
|
|
417
|
-
"strict": true,
|
|
418
|
-
"pluginName": "oclif",
|
|
419
|
-
"pluginAlias": "oclif",
|
|
420
|
-
"pluginType": "core",
|
|
421
414
|
"aliases": [],
|
|
415
|
+
"args": {},
|
|
416
|
+
"description": "packages oclif CLI into tarballs\n\nThis can be used to create oclif CLIs that use the system node or that come preloaded with a node binary.\n",
|
|
422
417
|
"flags": {
|
|
423
418
|
"parallel": {
|
|
424
|
-
"name": "parallel",
|
|
425
419
|
"description": "build tarballs in parallel",
|
|
420
|
+
"name": "parallel",
|
|
426
421
|
"allowNo": false,
|
|
427
422
|
"type": "boolean"
|
|
428
423
|
},
|
|
429
424
|
"root": {
|
|
430
|
-
"name": "root",
|
|
431
425
|
"char": "r",
|
|
432
|
-
"required": true,
|
|
433
426
|
"description": "path to oclif CLI root",
|
|
434
|
-
"
|
|
435
|
-
"
|
|
427
|
+
"name": "root",
|
|
428
|
+
"required": true,
|
|
436
429
|
"default": ".",
|
|
437
|
-
"hasDynamicHelp": false
|
|
430
|
+
"hasDynamicHelp": false,
|
|
431
|
+
"multiple": false,
|
|
432
|
+
"type": "option"
|
|
438
433
|
},
|
|
439
434
|
"tarball": {
|
|
440
|
-
"name": "tarball",
|
|
441
435
|
"char": "l",
|
|
442
|
-
"required": false,
|
|
443
436
|
"description": "optionally specify a path to a tarball already generated by NPM",
|
|
444
|
-
"
|
|
437
|
+
"name": "tarball",
|
|
438
|
+
"required": false,
|
|
439
|
+
"hasDynamicHelp": false,
|
|
445
440
|
"multiple": false,
|
|
446
|
-
"
|
|
441
|
+
"type": "option"
|
|
447
442
|
},
|
|
448
443
|
"targets": {
|
|
449
|
-
"name": "targets",
|
|
450
444
|
"char": "t",
|
|
451
445
|
"description": "comma-separated targets to pack (e.g.: linux-arm,win32-x64)",
|
|
452
|
-
"
|
|
446
|
+
"name": "targets",
|
|
447
|
+
"hasDynamicHelp": false,
|
|
453
448
|
"multiple": false,
|
|
454
|
-
"
|
|
449
|
+
"type": "option"
|
|
455
450
|
},
|
|
456
451
|
"xz": {
|
|
457
|
-
"name": "xz",
|
|
458
452
|
"description": "also build xz",
|
|
453
|
+
"name": "xz",
|
|
459
454
|
"allowNo": true,
|
|
460
455
|
"type": "boolean"
|
|
461
456
|
}
|
|
462
457
|
},
|
|
463
|
-
"args": {},
|
|
464
458
|
"hasDynamicHelp": false,
|
|
459
|
+
"id": "pack:tarballs",
|
|
460
|
+
"pluginAlias": "oclif",
|
|
461
|
+
"pluginName": "oclif",
|
|
462
|
+
"pluginType": "core",
|
|
463
|
+
"strict": true,
|
|
465
464
|
"enableJsonFlag": false,
|
|
466
465
|
"isESM": false,
|
|
467
466
|
"relativePath": [
|
|
@@ -472,51 +471,51 @@
|
|
|
472
471
|
]
|
|
473
472
|
},
|
|
474
473
|
"pack:win": {
|
|
475
|
-
"id": "pack:win",
|
|
476
|
-
"description": "create windows installer from oclif CLI\n\n This command requires WINDOWS_SIGNING (prefixed with the name of your executable, e.g. OCLIF_WINDOWS_SIGNING_PASS) to be set in the environment",
|
|
477
|
-
"strict": true,
|
|
478
|
-
"pluginName": "oclif",
|
|
479
|
-
"pluginAlias": "oclif",
|
|
480
|
-
"pluginType": "core",
|
|
481
474
|
"aliases": [],
|
|
475
|
+
"args": {},
|
|
476
|
+
"description": "create windows installer from oclif CLI\n\n This command requires WINDOWS_SIGNING (prefixed with the name of your executable, e.g. OCLIF_WINDOWS_SIGNING_PASS) to be set in the environment",
|
|
482
477
|
"flags": {
|
|
483
478
|
"additional-cli": {
|
|
484
|
-
"name": "additional-cli",
|
|
485
|
-
"hidden": true,
|
|
486
479
|
"description": "an Oclif CLI other than the one listed in config.bin that should be made available to the user\nthe CLI should already exist in a directory named after the CLI that is the root of the tarball produced by \"oclif pack:tarballs\"",
|
|
487
|
-
"
|
|
480
|
+
"hidden": true,
|
|
481
|
+
"name": "additional-cli",
|
|
482
|
+
"hasDynamicHelp": false,
|
|
488
483
|
"multiple": false,
|
|
489
|
-
"
|
|
484
|
+
"type": "option"
|
|
490
485
|
},
|
|
491
486
|
"root": {
|
|
492
|
-
"name": "root",
|
|
493
487
|
"char": "r",
|
|
494
|
-
"required": true,
|
|
495
488
|
"description": "path to oclif CLI root",
|
|
496
|
-
"
|
|
497
|
-
"
|
|
489
|
+
"name": "root",
|
|
490
|
+
"required": true,
|
|
498
491
|
"default": ".",
|
|
499
|
-
"hasDynamicHelp": false
|
|
492
|
+
"hasDynamicHelp": false,
|
|
493
|
+
"multiple": false,
|
|
494
|
+
"type": "option"
|
|
500
495
|
},
|
|
501
496
|
"tarball": {
|
|
502
|
-
"name": "tarball",
|
|
503
497
|
"char": "t",
|
|
504
|
-
"required": false,
|
|
505
498
|
"description": "optionally specify a path to a tarball already generated by NPM",
|
|
506
|
-
"
|
|
499
|
+
"name": "tarball",
|
|
500
|
+
"required": false,
|
|
501
|
+
"hasDynamicHelp": false,
|
|
507
502
|
"multiple": false,
|
|
508
|
-
"
|
|
503
|
+
"type": "option"
|
|
509
504
|
},
|
|
510
505
|
"targets": {
|
|
511
|
-
"name": "targets",
|
|
512
506
|
"description": "comma-separated targets to pack (e.g.: win32-x64,win32-x86)",
|
|
513
|
-
"
|
|
507
|
+
"name": "targets",
|
|
508
|
+
"hasDynamicHelp": false,
|
|
514
509
|
"multiple": false,
|
|
515
|
-
"
|
|
510
|
+
"type": "option"
|
|
516
511
|
}
|
|
517
512
|
},
|
|
518
|
-
"args": {},
|
|
519
513
|
"hasDynamicHelp": false,
|
|
514
|
+
"id": "pack:win",
|
|
515
|
+
"pluginAlias": "oclif",
|
|
516
|
+
"pluginName": "oclif",
|
|
517
|
+
"pluginType": "core",
|
|
518
|
+
"strict": true,
|
|
520
519
|
"enableJsonFlag": false,
|
|
521
520
|
"isESM": false,
|
|
522
521
|
"relativePath": [
|
|
@@ -527,27 +526,27 @@
|
|
|
527
526
|
]
|
|
528
527
|
},
|
|
529
528
|
"upload:deb": {
|
|
530
|
-
"id": "upload:deb",
|
|
531
|
-
"description": "upload deb package built with pack:deb",
|
|
532
|
-
"strict": true,
|
|
533
|
-
"pluginName": "oclif",
|
|
534
|
-
"pluginAlias": "oclif",
|
|
535
|
-
"pluginType": "core",
|
|
536
529
|
"aliases": [],
|
|
530
|
+
"args": {},
|
|
531
|
+
"description": "upload deb package built with pack:deb",
|
|
537
532
|
"flags": {
|
|
538
533
|
"root": {
|
|
539
|
-
"name": "root",
|
|
540
534
|
"char": "r",
|
|
541
|
-
"required": true,
|
|
542
535
|
"description": "path to oclif CLI root",
|
|
543
|
-
"
|
|
544
|
-
"
|
|
536
|
+
"name": "root",
|
|
537
|
+
"required": true,
|
|
545
538
|
"default": ".",
|
|
546
|
-
"hasDynamicHelp": false
|
|
539
|
+
"hasDynamicHelp": false,
|
|
540
|
+
"multiple": false,
|
|
541
|
+
"type": "option"
|
|
547
542
|
}
|
|
548
543
|
},
|
|
549
|
-
"args": {},
|
|
550
544
|
"hasDynamicHelp": false,
|
|
545
|
+
"id": "upload:deb",
|
|
546
|
+
"pluginAlias": "oclif",
|
|
547
|
+
"pluginName": "oclif",
|
|
548
|
+
"pluginType": "core",
|
|
549
|
+
"strict": true,
|
|
551
550
|
"enableJsonFlag": false,
|
|
552
551
|
"isESM": false,
|
|
553
552
|
"relativePath": [
|
|
@@ -558,35 +557,35 @@
|
|
|
558
557
|
]
|
|
559
558
|
},
|
|
560
559
|
"upload:macos": {
|
|
561
|
-
"id": "upload:macos",
|
|
562
|
-
"description": "upload macos installers built with pack:macos",
|
|
563
|
-
"strict": true,
|
|
564
|
-
"pluginName": "oclif",
|
|
565
|
-
"pluginAlias": "oclif",
|
|
566
|
-
"pluginType": "core",
|
|
567
560
|
"aliases": [],
|
|
561
|
+
"args": {},
|
|
562
|
+
"description": "upload macos installers built with pack:macos",
|
|
568
563
|
"flags": {
|
|
569
564
|
"root": {
|
|
570
|
-
"name": "root",
|
|
571
565
|
"char": "r",
|
|
572
|
-
"required": true,
|
|
573
566
|
"description": "path to oclif CLI root",
|
|
574
|
-
"
|
|
575
|
-
"
|
|
567
|
+
"name": "root",
|
|
568
|
+
"required": true,
|
|
576
569
|
"default": ".",
|
|
577
|
-
"hasDynamicHelp": false
|
|
570
|
+
"hasDynamicHelp": false,
|
|
571
|
+
"multiple": false,
|
|
572
|
+
"type": "option"
|
|
578
573
|
},
|
|
579
574
|
"targets": {
|
|
580
|
-
"name": "targets",
|
|
581
575
|
"char": "t",
|
|
582
576
|
"description": "comma-separated targets to upload (e.g.: darwin-x64,darwin-arm64)",
|
|
583
|
-
"
|
|
577
|
+
"name": "targets",
|
|
578
|
+
"hasDynamicHelp": false,
|
|
584
579
|
"multiple": false,
|
|
585
|
-
"
|
|
580
|
+
"type": "option"
|
|
586
581
|
}
|
|
587
582
|
},
|
|
588
|
-
"args": {},
|
|
589
583
|
"hasDynamicHelp": false,
|
|
584
|
+
"id": "upload:macos",
|
|
585
|
+
"pluginAlias": "oclif",
|
|
586
|
+
"pluginName": "oclif",
|
|
587
|
+
"pluginType": "core",
|
|
588
|
+
"strict": true,
|
|
590
589
|
"enableJsonFlag": false,
|
|
591
590
|
"isESM": false,
|
|
592
591
|
"relativePath": [
|
|
@@ -597,41 +596,41 @@
|
|
|
597
596
|
]
|
|
598
597
|
},
|
|
599
598
|
"upload:tarballs": {
|
|
600
|
-
"id": "upload:tarballs",
|
|
601
|
-
"description": "upload an oclif CLI to S3\n\n\"aws-sdk\" will need to be installed as a devDependency to upload.\n",
|
|
602
|
-
"strict": true,
|
|
603
|
-
"pluginName": "oclif",
|
|
604
|
-
"pluginAlias": "oclif",
|
|
605
|
-
"pluginType": "core",
|
|
606
599
|
"aliases": [],
|
|
600
|
+
"args": {},
|
|
601
|
+
"description": "upload an oclif CLI to S3\n\n\"aws-sdk\" will need to be installed as a devDependency to upload.\n",
|
|
607
602
|
"flags": {
|
|
608
603
|
"root": {
|
|
609
|
-
"name": "root",
|
|
610
604
|
"char": "r",
|
|
611
|
-
"required": true,
|
|
612
605
|
"description": "path to oclif CLI root",
|
|
613
|
-
"
|
|
614
|
-
"
|
|
606
|
+
"name": "root",
|
|
607
|
+
"required": true,
|
|
615
608
|
"default": ".",
|
|
616
|
-
"hasDynamicHelp": false
|
|
609
|
+
"hasDynamicHelp": false,
|
|
610
|
+
"multiple": false,
|
|
611
|
+
"type": "option"
|
|
617
612
|
},
|
|
618
613
|
"targets": {
|
|
619
|
-
"name": "targets",
|
|
620
614
|
"char": "t",
|
|
621
615
|
"description": "comma-separated targets to upload (e.g.: linux-arm,win32-x64)",
|
|
622
|
-
"
|
|
616
|
+
"name": "targets",
|
|
617
|
+
"hasDynamicHelp": false,
|
|
623
618
|
"multiple": false,
|
|
624
|
-
"
|
|
619
|
+
"type": "option"
|
|
625
620
|
},
|
|
626
621
|
"xz": {
|
|
627
|
-
"name": "xz",
|
|
628
622
|
"description": "also upload xz",
|
|
623
|
+
"name": "xz",
|
|
629
624
|
"allowNo": true,
|
|
630
625
|
"type": "boolean"
|
|
631
626
|
}
|
|
632
627
|
},
|
|
633
|
-
"args": {},
|
|
634
628
|
"hasDynamicHelp": false,
|
|
629
|
+
"id": "upload:tarballs",
|
|
630
|
+
"pluginAlias": "oclif",
|
|
631
|
+
"pluginName": "oclif",
|
|
632
|
+
"pluginType": "core",
|
|
633
|
+
"strict": true,
|
|
635
634
|
"enableJsonFlag": false,
|
|
636
635
|
"isESM": false,
|
|
637
636
|
"relativePath": [
|
|
@@ -642,34 +641,34 @@
|
|
|
642
641
|
]
|
|
643
642
|
},
|
|
644
643
|
"upload:win": {
|
|
645
|
-
"id": "upload:win",
|
|
646
|
-
"description": "upload windows installers built with pack:win",
|
|
647
|
-
"strict": true,
|
|
648
|
-
"pluginName": "oclif",
|
|
649
|
-
"pluginAlias": "oclif",
|
|
650
|
-
"pluginType": "core",
|
|
651
644
|
"aliases": [],
|
|
645
|
+
"args": {},
|
|
646
|
+
"description": "upload windows installers built with pack:win",
|
|
652
647
|
"flags": {
|
|
653
648
|
"root": {
|
|
654
|
-
"name": "root",
|
|
655
649
|
"char": "r",
|
|
656
|
-
"required": true,
|
|
657
650
|
"description": "path to oclif CLI root",
|
|
658
|
-
"
|
|
659
|
-
"
|
|
651
|
+
"name": "root",
|
|
652
|
+
"required": true,
|
|
660
653
|
"default": ".",
|
|
661
|
-
"hasDynamicHelp": false
|
|
654
|
+
"hasDynamicHelp": false,
|
|
655
|
+
"multiple": false,
|
|
656
|
+
"type": "option"
|
|
662
657
|
},
|
|
663
658
|
"targets": {
|
|
664
|
-
"name": "targets",
|
|
665
659
|
"description": "comma-separated targets to pack (e.g.: win32-x64,win32-x86)",
|
|
666
|
-
"
|
|
660
|
+
"name": "targets",
|
|
661
|
+
"hasDynamicHelp": false,
|
|
667
662
|
"multiple": false,
|
|
668
|
-
"
|
|
663
|
+
"type": "option"
|
|
669
664
|
}
|
|
670
665
|
},
|
|
671
|
-
"args": {},
|
|
672
666
|
"hasDynamicHelp": false,
|
|
667
|
+
"id": "upload:win",
|
|
668
|
+
"pluginAlias": "oclif",
|
|
669
|
+
"pluginName": "oclif",
|
|
670
|
+
"pluginType": "core",
|
|
671
|
+
"strict": true,
|
|
673
672
|
"enableJsonFlag": false,
|
|
674
673
|
"isESM": false,
|
|
675
674
|
"relativePath": [
|
|
@@ -679,5 +678,6 @@
|
|
|
679
678
|
"win.ts"
|
|
680
679
|
]
|
|
681
680
|
}
|
|
682
|
-
}
|
|
681
|
+
},
|
|
682
|
+
"version": "4.0.0-beta.3"
|
|
683
683
|
}
|