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