@contentstack/cli-audit 1.3.0 → 1.3.1
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 +43 -13
- package/lib/messages/index.js +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-audit
|
|
|
19
19
|
$ csdx COMMAND
|
|
20
20
|
running command...
|
|
21
21
|
$ csdx (--version|-v)
|
|
22
|
-
@contentstack/cli-audit/1.3.
|
|
22
|
+
@contentstack/cli-audit/1.3.1 linux-x64 node-v18.19.0
|
|
23
23
|
$ csdx --help [COMMAND]
|
|
24
24
|
USAGE
|
|
25
25
|
$ csdx COMMAND
|
|
@@ -41,6 +41,7 @@ USAGE
|
|
|
41
41
|
* [`csdx plugins:install PLUGIN...`](#csdx-pluginsinstall-plugin-1)
|
|
42
42
|
* [`csdx plugins:link PLUGIN`](#csdx-pluginslink-plugin)
|
|
43
43
|
* [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin)
|
|
44
|
+
* [`csdx plugins:reset`](#csdx-pluginsreset)
|
|
44
45
|
* [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin-1)
|
|
45
46
|
* [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin-2)
|
|
46
47
|
* [`csdx plugins:update`](#csdx-pluginsupdate)
|
|
@@ -284,7 +285,7 @@ EXAMPLES
|
|
|
284
285
|
$ csdx plugins
|
|
285
286
|
```
|
|
286
287
|
|
|
287
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
288
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/index.ts)_
|
|
288
289
|
|
|
289
290
|
## `csdx plugins:install PLUGIN...`
|
|
290
291
|
|
|
@@ -300,7 +301,11 @@ ARGUMENTS
|
|
|
300
301
|
FLAGS
|
|
301
302
|
-f, --force Run yarn install with force flag.
|
|
302
303
|
-h, --help Show CLI help.
|
|
303
|
-
-
|
|
304
|
+
-s, --silent Silences yarn output.
|
|
305
|
+
-v, --verbose Show verbose yarn output.
|
|
306
|
+
|
|
307
|
+
GLOBAL FLAGS
|
|
308
|
+
--json Format output as json.
|
|
304
309
|
|
|
305
310
|
DESCRIPTION
|
|
306
311
|
Installs a plugin into the CLI.
|
|
@@ -317,11 +322,11 @@ ALIASES
|
|
|
317
322
|
$ csdx plugins:add
|
|
318
323
|
|
|
319
324
|
EXAMPLES
|
|
320
|
-
$ csdx plugins:
|
|
325
|
+
$ csdx plugins:add myplugin
|
|
321
326
|
|
|
322
|
-
$ csdx plugins:
|
|
327
|
+
$ csdx plugins:add https://github.com/someuser/someplugin
|
|
323
328
|
|
|
324
|
-
$ csdx plugins:
|
|
329
|
+
$ csdx plugins:add someuser/someplugin
|
|
325
330
|
```
|
|
326
331
|
|
|
327
332
|
## `csdx plugins:inspect PLUGIN...`
|
|
@@ -349,7 +354,7 @@ EXAMPLES
|
|
|
349
354
|
$ csdx plugins:inspect myplugin
|
|
350
355
|
```
|
|
351
356
|
|
|
352
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
357
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/inspect.ts)_
|
|
353
358
|
|
|
354
359
|
## `csdx plugins:install PLUGIN...`
|
|
355
360
|
|
|
@@ -365,7 +370,11 @@ ARGUMENTS
|
|
|
365
370
|
FLAGS
|
|
366
371
|
-f, --force Run yarn install with force flag.
|
|
367
372
|
-h, --help Show CLI help.
|
|
368
|
-
-
|
|
373
|
+
-s, --silent Silences yarn output.
|
|
374
|
+
-v, --verbose Show verbose yarn output.
|
|
375
|
+
|
|
376
|
+
GLOBAL FLAGS
|
|
377
|
+
--json Format output as json.
|
|
369
378
|
|
|
370
379
|
DESCRIPTION
|
|
371
380
|
Installs a plugin into the CLI.
|
|
@@ -389,7 +398,7 @@ EXAMPLES
|
|
|
389
398
|
$ csdx plugins:install someuser/someplugin
|
|
390
399
|
```
|
|
391
400
|
|
|
392
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
401
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/install.ts)_
|
|
393
402
|
|
|
394
403
|
## `csdx plugins:link PLUGIN`
|
|
395
404
|
|
|
@@ -403,8 +412,9 @@ ARGUMENTS
|
|
|
403
412
|
PATH [default: .] path to plugin
|
|
404
413
|
|
|
405
414
|
FLAGS
|
|
406
|
-
-h, --help
|
|
415
|
+
-h, --help Show CLI help.
|
|
407
416
|
-v, --verbose
|
|
417
|
+
--[no-]install Install dependencies after linking the plugin.
|
|
408
418
|
|
|
409
419
|
DESCRIPTION
|
|
410
420
|
Links a plugin into the CLI for development.
|
|
@@ -418,7 +428,7 @@ EXAMPLES
|
|
|
418
428
|
$ csdx plugins:link myplugin
|
|
419
429
|
```
|
|
420
430
|
|
|
421
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
431
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/link.ts)_
|
|
422
432
|
|
|
423
433
|
## `csdx plugins:uninstall PLUGIN...`
|
|
424
434
|
|
|
@@ -441,8 +451,22 @@ DESCRIPTION
|
|
|
441
451
|
ALIASES
|
|
442
452
|
$ csdx plugins:unlink
|
|
443
453
|
$ csdx plugins:remove
|
|
454
|
+
|
|
455
|
+
EXAMPLES
|
|
456
|
+
$ csdx plugins:remove myplugin
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
## `csdx plugins:reset`
|
|
460
|
+
|
|
461
|
+
Remove all user-installed and linked plugins.
|
|
462
|
+
|
|
463
|
+
```
|
|
464
|
+
USAGE
|
|
465
|
+
$ csdx plugins:reset
|
|
444
466
|
```
|
|
445
467
|
|
|
468
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/reset.ts)_
|
|
469
|
+
|
|
446
470
|
## `csdx plugins:uninstall PLUGIN...`
|
|
447
471
|
|
|
448
472
|
Removes a plugin from the CLI.
|
|
@@ -464,9 +488,12 @@ DESCRIPTION
|
|
|
464
488
|
ALIASES
|
|
465
489
|
$ csdx plugins:unlink
|
|
466
490
|
$ csdx plugins:remove
|
|
491
|
+
|
|
492
|
+
EXAMPLES
|
|
493
|
+
$ csdx plugins:uninstall myplugin
|
|
467
494
|
```
|
|
468
495
|
|
|
469
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
496
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/uninstall.ts)_
|
|
470
497
|
|
|
471
498
|
## `csdx plugins:uninstall PLUGIN...`
|
|
472
499
|
|
|
@@ -489,6 +516,9 @@ DESCRIPTION
|
|
|
489
516
|
ALIASES
|
|
490
517
|
$ csdx plugins:unlink
|
|
491
518
|
$ csdx plugins:remove
|
|
519
|
+
|
|
520
|
+
EXAMPLES
|
|
521
|
+
$ csdx plugins:unlink myplugin
|
|
492
522
|
```
|
|
493
523
|
|
|
494
524
|
## `csdx plugins:update`
|
|
@@ -507,5 +537,5 @@ DESCRIPTION
|
|
|
507
537
|
Update installed plugins.
|
|
508
538
|
```
|
|
509
539
|
|
|
510
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
540
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/update.ts)_
|
|
511
541
|
<!-- commandsstop -->
|
package/lib/messages/index.js
CHANGED
|
@@ -54,7 +54,8 @@ function $t(msg, args) {
|
|
|
54
54
|
if (!msg)
|
|
55
55
|
return '';
|
|
56
56
|
for (const key of Object.keys(args)) {
|
|
57
|
-
|
|
57
|
+
const escapedKey = key.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
58
|
+
msg = msg.replace(new RegExp(`{${escapedKey}}`, 'g'), args[key]);
|
|
58
59
|
}
|
|
59
60
|
return msg;
|
|
60
61
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-audit",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Contentstack audit plugin",
|
|
5
5
|
"author": "Contentstack CLI",
|
|
6
6
|
"homepage": "https://github.com/contentstack/cli",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@contentstack/cli-command": "~1.2.16",
|
|
22
|
-
"@contentstack/cli-utilities": "~1.5.
|
|
22
|
+
"@contentstack/cli-utilities": "~1.5.9",
|
|
23
23
|
"@oclif/plugin-help": "^5",
|
|
24
|
-
"@oclif/plugin-plugins": "^
|
|
24
|
+
"@oclif/plugin-plugins": "^4.1.9",
|
|
25
25
|
"chalk": "^4.1.2",
|
|
26
26
|
"fast-csv": "^4.3.6",
|
|
27
27
|
"fs-extra": "^11.1.1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"chai": "^4.3.7",
|
|
40
40
|
"eslint": "^8.43.0",
|
|
41
41
|
"eslint-config-oclif": "^4.0.0",
|
|
42
|
-
"eslint-config-oclif-typescript": "^
|
|
42
|
+
"eslint-config-oclif-typescript": "^3.0.8",
|
|
43
43
|
"mocha": "^10.2.0",
|
|
44
44
|
"nyc": "^15.1.0",
|
|
45
45
|
"oclif": "^3",
|
|
@@ -84,4 +84,4 @@
|
|
|
84
84
|
"keywords": [
|
|
85
85
|
"oclif"
|
|
86
86
|
]
|
|
87
|
-
}
|
|
87
|
+
}
|