@oclif/plugin-test-esm-2 0.7.8 → 0.7.10
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 +30 -27
- package/oclif.manifest.json +45 -27
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @oclif/plugin-test-esm-2
|
|
|
18
18
|
$ esm2 COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ esm2 (--version)
|
|
21
|
-
@oclif/plugin-test-esm-2/0.7.
|
|
21
|
+
@oclif/plugin-test-esm-2/0.7.10 linux-x64 node-v20.15.0
|
|
22
22
|
$ esm2 --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ esm2 COMMAND
|
|
@@ -44,16 +44,19 @@ USAGE
|
|
|
44
44
|
|
|
45
45
|
```
|
|
46
46
|
USAGE
|
|
47
|
-
$ esm2 esm2 [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG] [--optionalString <value>]
|
|
48
|
-
<value>] [--defaultFnString <value>]
|
|
47
|
+
$ esm2 esm2 [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG] [--json] [--optionalString <value>]
|
|
48
|
+
[--defaultString <value>] [--defaultFnString <value>]
|
|
49
49
|
|
|
50
50
|
FLAGS
|
|
51
51
|
--defaultFnString=<value> [default: async fn default]
|
|
52
52
|
--defaultString=<value> [default: simple string default]
|
|
53
53
|
--optionalString=<value>
|
|
54
|
+
|
|
55
|
+
GLOBAL FLAGS
|
|
56
|
+
--json Format output as json.
|
|
54
57
|
```
|
|
55
58
|
|
|
56
|
-
_See code: [src/commands/esm2.ts](https://github.com/oclif/plugin-test-esm-2/blob/v0.7.
|
|
59
|
+
_See code: [src/commands/esm2.ts](https://github.com/oclif/plugin-test-esm-2/blob/v0.7.10/src/commands/esm2.ts)_
|
|
57
60
|
|
|
58
61
|
## `esm2 help [COMMAND]`
|
|
59
62
|
|
|
@@ -61,10 +64,10 @@ Display help for esm2.
|
|
|
61
64
|
|
|
62
65
|
```
|
|
63
66
|
USAGE
|
|
64
|
-
$ esm2 help [COMMAND] [-n]
|
|
67
|
+
$ esm2 help [COMMAND...] [-n]
|
|
65
68
|
|
|
66
69
|
ARGUMENTS
|
|
67
|
-
COMMAND Command to show help for.
|
|
70
|
+
COMMAND... Command to show help for.
|
|
68
71
|
|
|
69
72
|
FLAGS
|
|
70
73
|
-n, --nested-commands Include all nested commands in the output.
|
|
@@ -96,7 +99,7 @@ EXAMPLES
|
|
|
96
99
|
$ esm2 plugins
|
|
97
100
|
```
|
|
98
101
|
|
|
99
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.
|
|
102
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/index.ts)_
|
|
100
103
|
|
|
101
104
|
## `esm2 plugins add PLUGIN`
|
|
102
105
|
|
|
@@ -104,10 +107,10 @@ Installs a plugin into esm2.
|
|
|
104
107
|
|
|
105
108
|
```
|
|
106
109
|
USAGE
|
|
107
|
-
$ esm2 plugins add PLUGIN [--json] [-f] [-h] [-s | -v]
|
|
110
|
+
$ esm2 plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
108
111
|
|
|
109
112
|
ARGUMENTS
|
|
110
|
-
PLUGIN Plugin to install.
|
|
113
|
+
PLUGIN... Plugin to install.
|
|
111
114
|
|
|
112
115
|
FLAGS
|
|
113
116
|
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
@@ -151,10 +154,10 @@ Displays installation properties of a plugin.
|
|
|
151
154
|
|
|
152
155
|
```
|
|
153
156
|
USAGE
|
|
154
|
-
$ esm2 plugins
|
|
157
|
+
$ esm2 plugins inspect PLUGIN...
|
|
155
158
|
|
|
156
159
|
ARGUMENTS
|
|
157
|
-
PLUGIN [default: .] Plugin to inspect.
|
|
160
|
+
PLUGIN... [default: .] Plugin to inspect.
|
|
158
161
|
|
|
159
162
|
FLAGS
|
|
160
163
|
-h, --help Show CLI help.
|
|
@@ -170,7 +173,7 @@ EXAMPLES
|
|
|
170
173
|
$ esm2 plugins inspect myplugin
|
|
171
174
|
```
|
|
172
175
|
|
|
173
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.
|
|
176
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/inspect.ts)_
|
|
174
177
|
|
|
175
178
|
## `esm2 plugins install PLUGIN`
|
|
176
179
|
|
|
@@ -178,10 +181,10 @@ Installs a plugin into esm2.
|
|
|
178
181
|
|
|
179
182
|
```
|
|
180
183
|
USAGE
|
|
181
|
-
$ esm2 plugins install PLUGIN [--json] [-f] [-h] [-s | -v]
|
|
184
|
+
$ esm2 plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
182
185
|
|
|
183
186
|
ARGUMENTS
|
|
184
|
-
PLUGIN Plugin to install.
|
|
187
|
+
PLUGIN... Plugin to install.
|
|
185
188
|
|
|
186
189
|
FLAGS
|
|
187
190
|
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
@@ -219,7 +222,7 @@ EXAMPLES
|
|
|
219
222
|
$ esm2 plugins install someuser/someplugin
|
|
220
223
|
```
|
|
221
224
|
|
|
222
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.
|
|
225
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/install.ts)_
|
|
223
226
|
|
|
224
227
|
## `esm2 plugins link PATH`
|
|
225
228
|
|
|
@@ -233,9 +236,9 @@ ARGUMENTS
|
|
|
233
236
|
PATH [default: .] path to plugin
|
|
234
237
|
|
|
235
238
|
FLAGS
|
|
236
|
-
-h, --help
|
|
239
|
+
-h, --help Show CLI help.
|
|
237
240
|
-v, --verbose
|
|
238
|
-
|
|
241
|
+
--[no-]install Install dependencies after linking the plugin.
|
|
239
242
|
|
|
240
243
|
DESCRIPTION
|
|
241
244
|
Links a plugin into the CLI for development.
|
|
@@ -249,7 +252,7 @@ EXAMPLES
|
|
|
249
252
|
$ esm2 plugins link myplugin
|
|
250
253
|
```
|
|
251
254
|
|
|
252
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.
|
|
255
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/link.ts)_
|
|
253
256
|
|
|
254
257
|
## `esm2 plugins remove [PLUGIN]`
|
|
255
258
|
|
|
@@ -257,10 +260,10 @@ Removes a plugin from the CLI.
|
|
|
257
260
|
|
|
258
261
|
```
|
|
259
262
|
USAGE
|
|
260
|
-
$ esm2 plugins remove [PLUGIN] [-h] [-v]
|
|
263
|
+
$ esm2 plugins remove [PLUGIN...] [-h] [-v]
|
|
261
264
|
|
|
262
265
|
ARGUMENTS
|
|
263
|
-
PLUGIN plugin to uninstall
|
|
266
|
+
PLUGIN... plugin to uninstall
|
|
264
267
|
|
|
265
268
|
FLAGS
|
|
266
269
|
-h, --help Show CLI help.
|
|
@@ -290,7 +293,7 @@ FLAGS
|
|
|
290
293
|
--reinstall Reinstall all plugins after uninstalling.
|
|
291
294
|
```
|
|
292
295
|
|
|
293
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.
|
|
296
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/reset.ts)_
|
|
294
297
|
|
|
295
298
|
## `esm2 plugins uninstall [PLUGIN]`
|
|
296
299
|
|
|
@@ -298,10 +301,10 @@ Removes a plugin from the CLI.
|
|
|
298
301
|
|
|
299
302
|
```
|
|
300
303
|
USAGE
|
|
301
|
-
$ esm2 plugins uninstall [PLUGIN] [-h] [-v]
|
|
304
|
+
$ esm2 plugins uninstall [PLUGIN...] [-h] [-v]
|
|
302
305
|
|
|
303
306
|
ARGUMENTS
|
|
304
|
-
PLUGIN plugin to uninstall
|
|
307
|
+
PLUGIN... plugin to uninstall
|
|
305
308
|
|
|
306
309
|
FLAGS
|
|
307
310
|
-h, --help Show CLI help.
|
|
@@ -318,7 +321,7 @@ EXAMPLES
|
|
|
318
321
|
$ esm2 plugins uninstall myplugin
|
|
319
322
|
```
|
|
320
323
|
|
|
321
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.
|
|
324
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/uninstall.ts)_
|
|
322
325
|
|
|
323
326
|
## `esm2 plugins unlink [PLUGIN]`
|
|
324
327
|
|
|
@@ -326,10 +329,10 @@ Removes a plugin from the CLI.
|
|
|
326
329
|
|
|
327
330
|
```
|
|
328
331
|
USAGE
|
|
329
|
-
$ esm2 plugins unlink [PLUGIN] [-h] [-v]
|
|
332
|
+
$ esm2 plugins unlink [PLUGIN...] [-h] [-v]
|
|
330
333
|
|
|
331
334
|
ARGUMENTS
|
|
332
|
-
PLUGIN plugin to uninstall
|
|
335
|
+
PLUGIN... plugin to uninstall
|
|
333
336
|
|
|
334
337
|
FLAGS
|
|
335
338
|
-h, --help Show CLI help.
|
|
@@ -362,5 +365,5 @@ DESCRIPTION
|
|
|
362
365
|
Update installed plugins.
|
|
363
366
|
```
|
|
364
367
|
|
|
365
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.
|
|
368
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.3.2/src/commands/plugins/update.ts)_
|
|
366
369
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1,46 +1,64 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.7.8",
|
|
3
2
|
"commands": {
|
|
4
3
|
"esm2": {
|
|
5
|
-
"id": "esm2",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"pluginName": "@oclif/plugin-test-esm-2",
|
|
8
|
-
"pluginAlias": "@oclif/plugin-test-esm-2",
|
|
9
|
-
"pluginType": "core",
|
|
10
4
|
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"optionalArg": {
|
|
7
|
+
"name": "optionalArg"
|
|
8
|
+
},
|
|
9
|
+
"defaultArg": {
|
|
10
|
+
"default": "simple string default",
|
|
11
|
+
"name": "defaultArg"
|
|
12
|
+
},
|
|
13
|
+
"defaultFnArg": {
|
|
14
|
+
"default": "async fn default",
|
|
15
|
+
"name": "defaultFnArg"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
11
18
|
"flags": {
|
|
19
|
+
"json": {
|
|
20
|
+
"description": "Format output as json.",
|
|
21
|
+
"helpGroup": "GLOBAL",
|
|
22
|
+
"name": "json",
|
|
23
|
+
"allowNo": false,
|
|
24
|
+
"type": "boolean"
|
|
25
|
+
},
|
|
12
26
|
"optionalString": {
|
|
13
27
|
"name": "optionalString",
|
|
14
|
-
"
|
|
15
|
-
"multiple": false
|
|
28
|
+
"hasDynamicHelp": false,
|
|
29
|
+
"multiple": false,
|
|
30
|
+
"type": "option"
|
|
16
31
|
},
|
|
17
32
|
"defaultString": {
|
|
18
33
|
"name": "defaultString",
|
|
19
|
-
"
|
|
34
|
+
"default": "simple string default",
|
|
35
|
+
"hasDynamicHelp": false,
|
|
20
36
|
"multiple": false,
|
|
21
|
-
"
|
|
37
|
+
"type": "option"
|
|
22
38
|
},
|
|
23
39
|
"defaultFnString": {
|
|
24
40
|
"name": "defaultFnString",
|
|
25
|
-
"
|
|
41
|
+
"default": "async fn default",
|
|
42
|
+
"hasDynamicHelp": false,
|
|
26
43
|
"multiple": false,
|
|
27
|
-
"
|
|
44
|
+
"type": "option"
|
|
28
45
|
}
|
|
29
46
|
},
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
47
|
+
"hasDynamicHelp": false,
|
|
48
|
+
"hiddenAliases": [],
|
|
49
|
+
"id": "esm2",
|
|
50
|
+
"pluginAlias": "@oclif/plugin-test-esm-2",
|
|
51
|
+
"pluginName": "@oclif/plugin-test-esm-2",
|
|
52
|
+
"pluginType": "core",
|
|
53
|
+
"strict": true,
|
|
54
|
+
"enableJsonFlag": true,
|
|
55
|
+
"isESM": true,
|
|
56
|
+
"relativePath": [
|
|
57
|
+
"dist",
|
|
58
|
+
"commands",
|
|
59
|
+
"esm2.js"
|
|
60
|
+
]
|
|
44
61
|
}
|
|
45
|
-
}
|
|
62
|
+
},
|
|
63
|
+
"version": "0.7.10"
|
|
46
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-test-esm-2",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"description": "Test ESM plugin",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"eslint-config-oclif-typescript": "^2.0.1",
|
|
34
34
|
"eslint-config-prettier": "^9.1.0",
|
|
35
35
|
"mocha": "^10",
|
|
36
|
-
"oclif": "^
|
|
36
|
+
"oclif": "^4",
|
|
37
37
|
"shx": "^0.3.4",
|
|
38
38
|
"ts-node": "^10.9.2",
|
|
39
39
|
"typescript": "^5"
|