@oclif/plugin-test-cjs-2 0.6.33 → 0.6.34
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 +100 -57
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @oclif/plugin-test-cjs-2
|
|
|
18
18
|
$ cjs2 COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ cjs2 (--version)
|
|
21
|
-
@oclif/plugin-test-cjs-2/0.6.
|
|
21
|
+
@oclif/plugin-test-cjs-2/0.6.34 linux-x64 node-v20.13.1
|
|
22
22
|
$ cjs2 --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ cjs2 COMMAND
|
|
@@ -28,15 +28,16 @@ USAGE
|
|
|
28
28
|
# Commands
|
|
29
29
|
<!-- commands -->
|
|
30
30
|
* [`cjs2 cjs2 [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG]`](#cjs2-cjs2-optionalarg-defaultarg-defaultfnarg)
|
|
31
|
-
* [`cjs2 help [
|
|
31
|
+
* [`cjs2 help [COMMAND]`](#cjs2-help-command)
|
|
32
32
|
* [`cjs2 plugins`](#cjs2-plugins)
|
|
33
|
-
* [`cjs2 plugins
|
|
33
|
+
* [`cjs2 plugins add PLUGIN`](#cjs2-plugins-add-plugin)
|
|
34
34
|
* [`cjs2 plugins:inspect PLUGIN...`](#cjs2-pluginsinspect-plugin)
|
|
35
|
-
* [`cjs2 plugins
|
|
36
|
-
* [`cjs2 plugins
|
|
37
|
-
* [`cjs2 plugins
|
|
38
|
-
* [`cjs2 plugins
|
|
39
|
-
* [`cjs2 plugins
|
|
35
|
+
* [`cjs2 plugins install PLUGIN`](#cjs2-plugins-install-plugin)
|
|
36
|
+
* [`cjs2 plugins link PATH`](#cjs2-plugins-link-path)
|
|
37
|
+
* [`cjs2 plugins remove [PLUGIN]`](#cjs2-plugins-remove-plugin)
|
|
38
|
+
* [`cjs2 plugins reset`](#cjs2-plugins-reset)
|
|
39
|
+
* [`cjs2 plugins uninstall [PLUGIN]`](#cjs2-plugins-uninstall-plugin)
|
|
40
|
+
* [`cjs2 plugins unlink [PLUGIN]`](#cjs2-plugins-unlink-plugin)
|
|
40
41
|
* [`cjs2 plugins update`](#cjs2-plugins-update)
|
|
41
42
|
|
|
42
43
|
## `cjs2 cjs2 [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG]`
|
|
@@ -52,18 +53,18 @@ FLAGS
|
|
|
52
53
|
--optionalString=<value>
|
|
53
54
|
```
|
|
54
55
|
|
|
55
|
-
_See code: [src/commands/cjs2.ts](https://github.com/oclif/plugin-test-cjs-2/blob/v0.6.
|
|
56
|
+
_See code: [src/commands/cjs2.ts](https://github.com/oclif/plugin-test-cjs-2/blob/v0.6.34/src/commands/cjs2.ts)_
|
|
56
57
|
|
|
57
|
-
## `cjs2 help [
|
|
58
|
+
## `cjs2 help [COMMAND]`
|
|
58
59
|
|
|
59
60
|
Display help for cjs2.
|
|
60
61
|
|
|
61
62
|
```
|
|
62
63
|
USAGE
|
|
63
|
-
$ cjs2 help [
|
|
64
|
+
$ cjs2 help [COMMAND] [-n]
|
|
64
65
|
|
|
65
66
|
ARGUMENTS
|
|
66
|
-
|
|
67
|
+
COMMAND Command to show help for.
|
|
67
68
|
|
|
68
69
|
FLAGS
|
|
69
70
|
-n, --nested-commands Include all nested commands in the output.
|
|
@@ -72,7 +73,7 @@ DESCRIPTION
|
|
|
72
73
|
Display help for cjs2.
|
|
73
74
|
```
|
|
74
75
|
|
|
75
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/
|
|
76
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.22/src/commands/help.ts)_
|
|
76
77
|
|
|
77
78
|
## `cjs2 plugins`
|
|
78
79
|
|
|
@@ -95,44 +96,53 @@ EXAMPLES
|
|
|
95
96
|
$ cjs2 plugins
|
|
96
97
|
```
|
|
97
98
|
|
|
98
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
99
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/index.ts)_
|
|
99
100
|
|
|
100
|
-
## `cjs2 plugins
|
|
101
|
+
## `cjs2 plugins add PLUGIN`
|
|
101
102
|
|
|
102
|
-
Installs a plugin into
|
|
103
|
+
Installs a plugin into cjs2.
|
|
103
104
|
|
|
104
105
|
```
|
|
105
106
|
USAGE
|
|
106
|
-
$ cjs2 plugins
|
|
107
|
+
$ cjs2 plugins add PLUGIN [--json] [-f] [-h] [-s | -v]
|
|
107
108
|
|
|
108
109
|
ARGUMENTS
|
|
109
110
|
PLUGIN Plugin to install.
|
|
110
111
|
|
|
111
112
|
FLAGS
|
|
112
|
-
-f, --force
|
|
113
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
113
114
|
-h, --help Show CLI help.
|
|
114
|
-
-
|
|
115
|
+
-s, --silent Silences npm output.
|
|
116
|
+
-v, --verbose Show verbose npm output.
|
|
117
|
+
|
|
118
|
+
GLOBAL FLAGS
|
|
119
|
+
--json Format output as json.
|
|
115
120
|
|
|
116
121
|
DESCRIPTION
|
|
117
|
-
Installs a plugin into
|
|
118
|
-
Can be installed from npm or a git url.
|
|
122
|
+
Installs a plugin into cjs2.
|
|
119
123
|
|
|
120
|
-
|
|
124
|
+
Uses bundled npm executable to install plugins into /home/runner/.local/share/cjs2
|
|
121
125
|
|
|
122
|
-
|
|
123
|
-
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
|
|
124
|
-
the CLI without the need to patch and update the whole CLI.
|
|
126
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
125
127
|
|
|
128
|
+
Use the CJS2_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
129
|
+
Use the CJS2_NPM_REGISTRY environment variable to set the npm registry.
|
|
126
130
|
|
|
127
131
|
ALIASES
|
|
128
132
|
$ cjs2 plugins add
|
|
129
133
|
|
|
130
134
|
EXAMPLES
|
|
131
|
-
|
|
135
|
+
Install a plugin from npm registry.
|
|
136
|
+
|
|
137
|
+
$ cjs2 plugins add myplugin
|
|
138
|
+
|
|
139
|
+
Install a plugin from a github url.
|
|
140
|
+
|
|
141
|
+
$ cjs2 plugins add https://github.com/someuser/someplugin
|
|
132
142
|
|
|
133
|
-
|
|
143
|
+
Install a plugin from a github slug.
|
|
134
144
|
|
|
135
|
-
|
|
145
|
+
$ cjs2 plugins add someuser/someplugin
|
|
136
146
|
```
|
|
137
147
|
|
|
138
148
|
## `cjs2 plugins:inspect PLUGIN...`
|
|
@@ -157,58 +167,67 @@ DESCRIPTION
|
|
|
157
167
|
Displays installation properties of a plugin.
|
|
158
168
|
|
|
159
169
|
EXAMPLES
|
|
160
|
-
$ cjs2 plugins
|
|
170
|
+
$ cjs2 plugins inspect myplugin
|
|
161
171
|
```
|
|
162
172
|
|
|
163
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
173
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/inspect.ts)_
|
|
164
174
|
|
|
165
|
-
## `cjs2 plugins
|
|
175
|
+
## `cjs2 plugins install PLUGIN`
|
|
166
176
|
|
|
167
|
-
Installs a plugin into
|
|
177
|
+
Installs a plugin into cjs2.
|
|
168
178
|
|
|
169
179
|
```
|
|
170
180
|
USAGE
|
|
171
|
-
$ cjs2 plugins
|
|
181
|
+
$ cjs2 plugins install PLUGIN [--json] [-f] [-h] [-s | -v]
|
|
172
182
|
|
|
173
183
|
ARGUMENTS
|
|
174
184
|
PLUGIN Plugin to install.
|
|
175
185
|
|
|
176
186
|
FLAGS
|
|
177
|
-
-f, --force
|
|
187
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
178
188
|
-h, --help Show CLI help.
|
|
179
|
-
-
|
|
189
|
+
-s, --silent Silences npm output.
|
|
190
|
+
-v, --verbose Show verbose npm output.
|
|
191
|
+
|
|
192
|
+
GLOBAL FLAGS
|
|
193
|
+
--json Format output as json.
|
|
180
194
|
|
|
181
195
|
DESCRIPTION
|
|
182
|
-
Installs a plugin into
|
|
183
|
-
Can be installed from npm or a git url.
|
|
196
|
+
Installs a plugin into cjs2.
|
|
184
197
|
|
|
185
|
-
|
|
198
|
+
Uses bundled npm executable to install plugins into /home/runner/.local/share/cjs2
|
|
186
199
|
|
|
187
|
-
|
|
188
|
-
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
|
|
189
|
-
the CLI without the need to patch and update the whole CLI.
|
|
200
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
190
201
|
|
|
202
|
+
Use the CJS2_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
203
|
+
Use the CJS2_NPM_REGISTRY environment variable to set the npm registry.
|
|
191
204
|
|
|
192
205
|
ALIASES
|
|
193
206
|
$ cjs2 plugins add
|
|
194
207
|
|
|
195
208
|
EXAMPLES
|
|
196
|
-
|
|
209
|
+
Install a plugin from npm registry.
|
|
210
|
+
|
|
211
|
+
$ cjs2 plugins install myplugin
|
|
212
|
+
|
|
213
|
+
Install a plugin from a github url.
|
|
197
214
|
|
|
198
|
-
|
|
215
|
+
$ cjs2 plugins install https://github.com/someuser/someplugin
|
|
199
216
|
|
|
200
|
-
|
|
217
|
+
Install a plugin from a github slug.
|
|
218
|
+
|
|
219
|
+
$ cjs2 plugins install someuser/someplugin
|
|
201
220
|
```
|
|
202
221
|
|
|
203
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
222
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/install.ts)_
|
|
204
223
|
|
|
205
|
-
## `cjs2 plugins
|
|
224
|
+
## `cjs2 plugins link PATH`
|
|
206
225
|
|
|
207
226
|
Links a plugin into the CLI for development.
|
|
208
227
|
|
|
209
228
|
```
|
|
210
229
|
USAGE
|
|
211
|
-
$ cjs2 plugins
|
|
230
|
+
$ cjs2 plugins link PATH [-h] [--install] [-v]
|
|
212
231
|
|
|
213
232
|
ARGUMENTS
|
|
214
233
|
PATH [default: .] path to plugin
|
|
@@ -227,18 +246,18 @@ DESCRIPTION
|
|
|
227
246
|
|
|
228
247
|
|
|
229
248
|
EXAMPLES
|
|
230
|
-
$ cjs2 plugins
|
|
249
|
+
$ cjs2 plugins link myplugin
|
|
231
250
|
```
|
|
232
251
|
|
|
233
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
252
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/link.ts)_
|
|
234
253
|
|
|
235
|
-
## `cjs2 plugins
|
|
254
|
+
## `cjs2 plugins remove [PLUGIN]`
|
|
236
255
|
|
|
237
256
|
Removes a plugin from the CLI.
|
|
238
257
|
|
|
239
258
|
```
|
|
240
259
|
USAGE
|
|
241
|
-
$ cjs2 plugins
|
|
260
|
+
$ cjs2 plugins remove [PLUGIN] [-h] [-v]
|
|
242
261
|
|
|
243
262
|
ARGUMENTS
|
|
244
263
|
PLUGIN plugin to uninstall
|
|
@@ -253,15 +272,33 @@ DESCRIPTION
|
|
|
253
272
|
ALIASES
|
|
254
273
|
$ cjs2 plugins unlink
|
|
255
274
|
$ cjs2 plugins remove
|
|
275
|
+
|
|
276
|
+
EXAMPLES
|
|
277
|
+
$ cjs2 plugins remove myplugin
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
## `cjs2 plugins reset`
|
|
281
|
+
|
|
282
|
+
Remove all user-installed and linked plugins.
|
|
283
|
+
|
|
284
|
+
```
|
|
285
|
+
USAGE
|
|
286
|
+
$ cjs2 plugins reset [--hard] [--reinstall]
|
|
287
|
+
|
|
288
|
+
FLAGS
|
|
289
|
+
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
|
|
290
|
+
--reinstall Reinstall all plugins after uninstalling.
|
|
256
291
|
```
|
|
257
292
|
|
|
258
|
-
|
|
293
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/reset.ts)_
|
|
294
|
+
|
|
295
|
+
## `cjs2 plugins uninstall [PLUGIN]`
|
|
259
296
|
|
|
260
297
|
Removes a plugin from the CLI.
|
|
261
298
|
|
|
262
299
|
```
|
|
263
300
|
USAGE
|
|
264
|
-
$ cjs2 plugins
|
|
301
|
+
$ cjs2 plugins uninstall [PLUGIN] [-h] [-v]
|
|
265
302
|
|
|
266
303
|
ARGUMENTS
|
|
267
304
|
PLUGIN plugin to uninstall
|
|
@@ -276,17 +313,20 @@ DESCRIPTION
|
|
|
276
313
|
ALIASES
|
|
277
314
|
$ cjs2 plugins unlink
|
|
278
315
|
$ cjs2 plugins remove
|
|
316
|
+
|
|
317
|
+
EXAMPLES
|
|
318
|
+
$ cjs2 plugins uninstall myplugin
|
|
279
319
|
```
|
|
280
320
|
|
|
281
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
321
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/uninstall.ts)_
|
|
282
322
|
|
|
283
|
-
## `cjs2 plugins
|
|
323
|
+
## `cjs2 plugins unlink [PLUGIN]`
|
|
284
324
|
|
|
285
325
|
Removes a plugin from the CLI.
|
|
286
326
|
|
|
287
327
|
```
|
|
288
328
|
USAGE
|
|
289
|
-
$ cjs2 plugins
|
|
329
|
+
$ cjs2 plugins unlink [PLUGIN] [-h] [-v]
|
|
290
330
|
|
|
291
331
|
ARGUMENTS
|
|
292
332
|
PLUGIN plugin to uninstall
|
|
@@ -301,6 +341,9 @@ DESCRIPTION
|
|
|
301
341
|
ALIASES
|
|
302
342
|
$ cjs2 plugins unlink
|
|
303
343
|
$ cjs2 plugins remove
|
|
344
|
+
|
|
345
|
+
EXAMPLES
|
|
346
|
+
$ cjs2 plugins unlink myplugin
|
|
304
347
|
```
|
|
305
348
|
|
|
306
349
|
## `cjs2 plugins update`
|
|
@@ -319,5 +362,5 @@ DESCRIPTION
|
|
|
319
362
|
Update installed plugins.
|
|
320
363
|
```
|
|
321
364
|
|
|
322
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
365
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/update.ts)_
|
|
323
366
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-test-cjs-2",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.34",
|
|
4
4
|
"description": "Test CJS plugin",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
@@ -18,19 +18,19 @@
|
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@oclif/core": "^3.26.6",
|
|
21
|
-
"@oclif/plugin-help": "^
|
|
22
|
-
"@oclif/plugin-plugins": "^
|
|
21
|
+
"@oclif/plugin-help": "^6",
|
|
22
|
+
"@oclif/plugin-plugins": "^5"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@oclif/test": "^
|
|
25
|
+
"@oclif/test": "^4",
|
|
26
26
|
"@types/chai": "^4",
|
|
27
|
-
"@types/mocha": "^
|
|
27
|
+
"@types/mocha": "^10",
|
|
28
28
|
"@types/node": "^16.18.97",
|
|
29
29
|
"chai": "^4",
|
|
30
30
|
"eslint": "^7",
|
|
31
31
|
"eslint-config-oclif": "^4",
|
|
32
32
|
"eslint-config-oclif-typescript": "^1.0.3",
|
|
33
|
-
"mocha": "^
|
|
33
|
+
"mocha": "^10",
|
|
34
34
|
"oclif": "^3.17.2",
|
|
35
35
|
"shx": "^0.3.4",
|
|
36
36
|
"ts-node": "^10.9.2",
|