@contentstack/cli-audit 1.6.0 → 1.6.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 +16 -34
- package/bin/dev.js +6 -0
- package/bin/run.js +7 -0
- package/oclif.manifest.json +1 -33
- package/package.json +4 -4
- package/bin/dev +0 -5
- package/bin/run +0 -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.6.
|
|
22
|
+
@contentstack/cli-audit/1.6.1 linux-x64 node-v18.20.2
|
|
23
23
|
$ csdx --help [COMMAND]
|
|
24
24
|
USAGE
|
|
25
25
|
$ csdx COMMAND
|
|
@@ -52,19 +52,14 @@ Perform audits and find possible errors in the exported Contentstack data
|
|
|
52
52
|
|
|
53
53
|
```
|
|
54
54
|
USAGE
|
|
55
|
-
$ csdx audit [
|
|
56
|
-
|
|
57
|
-
[--csv | --no-truncate]
|
|
55
|
+
$ csdx audit [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
|
|
56
|
+
[--columns <value> | ] [--sort <value>] [--filter <value>] [--csv | --no-truncate]
|
|
58
57
|
|
|
59
58
|
FLAGS
|
|
60
59
|
--modules=<option>... Provide the list of modules to be audited
|
|
61
60
|
<options: content-types|global-fields|entries|extensions|workflows>
|
|
62
61
|
--report-path=<value> Path to store the audit reports
|
|
63
62
|
|
|
64
|
-
COMMON FLAGS
|
|
65
|
-
-c, --config=<value> Path of the external config
|
|
66
|
-
-d, --data-dir=<value> Path where the data is stored
|
|
67
|
-
|
|
68
63
|
TABLE FLAGS
|
|
69
64
|
--columns=<value> Show only the specified columns (comma-separated)
|
|
70
65
|
--csv The output is in the CSV format [alias: --output=csv]
|
|
@@ -97,8 +92,8 @@ Perform audits and fix possible errors in the exported Contentstack data.
|
|
|
97
92
|
|
|
98
93
|
```
|
|
99
94
|
USAGE
|
|
100
|
-
$ csdx audit:fix [
|
|
101
|
-
|
|
95
|
+
$ csdx audit:fix [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
|
|
96
|
+
[--copy-path <value> --copy-dir] [--fix-only
|
|
102
97
|
reference|global_field|json:rte|json:extension|blocks|group|content_types] [--columns <value> | ] [--sort <value>]
|
|
103
98
|
[--filter <value>] [--csv | --no-truncate]
|
|
104
99
|
|
|
@@ -111,10 +106,6 @@ FLAGS
|
|
|
111
106
|
<options: content-types|global-fields|entries|extensions|workflows>
|
|
112
107
|
--report-path=<value> Path to store the audit reports
|
|
113
108
|
|
|
114
|
-
COMMON FLAGS
|
|
115
|
-
-c, --config=<value> Path of the external config
|
|
116
|
-
-d, --data-dir=<value> Path where the data is stored
|
|
117
|
-
|
|
118
109
|
TABLE FLAGS
|
|
119
110
|
--columns=<value> Show only the specified columns (comma-separated)
|
|
120
111
|
--csv The output is in the CSV format [alias: --output=csv]
|
|
@@ -149,19 +140,14 @@ Perform audits and find possible errors in the exported Contentstack data
|
|
|
149
140
|
|
|
150
141
|
```
|
|
151
142
|
USAGE
|
|
152
|
-
$ csdx cm:stacks:audit [
|
|
153
|
-
|
|
154
|
-
[--csv | --no-truncate]
|
|
143
|
+
$ csdx cm:stacks:audit [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
|
|
144
|
+
[--columns <value> | ] [--sort <value>] [--filter <value>] [--csv | --no-truncate]
|
|
155
145
|
|
|
156
146
|
FLAGS
|
|
157
147
|
--modules=<option>... Provide the list of modules to be audited
|
|
158
148
|
<options: content-types|global-fields|entries|extensions|workflows>
|
|
159
149
|
--report-path=<value> Path to store the audit reports
|
|
160
150
|
|
|
161
|
-
COMMON FLAGS
|
|
162
|
-
-c, --config=<value> Path of the external config
|
|
163
|
-
-d, --data-dir=<value> Path where the data is stored
|
|
164
|
-
|
|
165
151
|
TABLE FLAGS
|
|
166
152
|
--columns=<value> Show only the specified columns (comma-separated)
|
|
167
153
|
--csv The output is in the CSV format [alias: --output=csv]
|
|
@@ -196,8 +182,8 @@ Perform audits and fix possible errors in the exported Contentstack data.
|
|
|
196
182
|
|
|
197
183
|
```
|
|
198
184
|
USAGE
|
|
199
|
-
$ csdx cm:stacks:audit:fix [
|
|
200
|
-
|
|
185
|
+
$ csdx cm:stacks:audit:fix [--report-path <value>] [--modules content-types|global-fields|entries|extensions|workflows]
|
|
186
|
+
[--copy-path <value> --copy-dir] [--fix-only
|
|
201
187
|
reference|global_field|json:rte|json:extension|blocks|group|content_types] [--columns <value> | ] [--sort <value>]
|
|
202
188
|
[--filter <value>] [--csv | --no-truncate]
|
|
203
189
|
|
|
@@ -210,10 +196,6 @@ FLAGS
|
|
|
210
196
|
<options: content-types|global-fields|entries|extensions|workflows>
|
|
211
197
|
--report-path=<value> Path to store the audit reports
|
|
212
198
|
|
|
213
|
-
COMMON FLAGS
|
|
214
|
-
-c, --config=<value> Path of the external config
|
|
215
|
-
-d, --data-dir=<value> Path where the data is stored
|
|
216
|
-
|
|
217
199
|
TABLE FLAGS
|
|
218
200
|
--columns=<value> Show only the specified columns (comma-separated)
|
|
219
201
|
--csv The output is in the CSV format [alias: --output=csv]
|
|
@@ -285,7 +267,7 @@ EXAMPLES
|
|
|
285
267
|
$ csdx plugins
|
|
286
268
|
```
|
|
287
269
|
|
|
288
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
270
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/index.ts)_
|
|
289
271
|
|
|
290
272
|
## `csdx plugins:add PLUGIN`
|
|
291
273
|
|
|
@@ -359,7 +341,7 @@ EXAMPLES
|
|
|
359
341
|
$ csdx plugins:inspect myplugin
|
|
360
342
|
```
|
|
361
343
|
|
|
362
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
344
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/inspect.ts)_
|
|
363
345
|
|
|
364
346
|
## `csdx plugins:install PLUGIN`
|
|
365
347
|
|
|
@@ -408,7 +390,7 @@ EXAMPLES
|
|
|
408
390
|
$ csdx plugins:install someuser/someplugin
|
|
409
391
|
```
|
|
410
392
|
|
|
411
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
393
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/install.ts)_
|
|
412
394
|
|
|
413
395
|
## `csdx plugins:link PATH`
|
|
414
396
|
|
|
@@ -438,7 +420,7 @@ EXAMPLES
|
|
|
438
420
|
$ csdx plugins:link myplugin
|
|
439
421
|
```
|
|
440
422
|
|
|
441
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
423
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/link.ts)_
|
|
442
424
|
|
|
443
425
|
## `csdx plugins:remove [PLUGIN]`
|
|
444
426
|
|
|
@@ -479,7 +461,7 @@ FLAGS
|
|
|
479
461
|
--reinstall Reinstall all plugins after uninstalling.
|
|
480
462
|
```
|
|
481
463
|
|
|
482
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
464
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/reset.ts)_
|
|
483
465
|
|
|
484
466
|
## `csdx plugins:uninstall [PLUGIN]`
|
|
485
467
|
|
|
@@ -507,7 +489,7 @@ EXAMPLES
|
|
|
507
489
|
$ csdx plugins:uninstall myplugin
|
|
508
490
|
```
|
|
509
491
|
|
|
510
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
492
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/uninstall.ts)_
|
|
511
493
|
|
|
512
494
|
## `csdx plugins:unlink [PLUGIN]`
|
|
513
495
|
|
|
@@ -551,5 +533,5 @@ DESCRIPTION
|
|
|
551
533
|
Update installed plugins.
|
|
552
534
|
```
|
|
553
535
|
|
|
554
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.
|
|
536
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.21/src/commands/plugins/update.ts)_
|
|
555
537
|
<!-- commandsstop -->
|
package/bin/dev.js
ADDED
package/bin/run.js
ADDED
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.6.
|
|
2
|
+
"version": "1.6.1",
|
|
3
3
|
"commands": {
|
|
4
4
|
"cm:stacks:audit:fix": {
|
|
5
5
|
"id": "cm:stacks:audit:fix",
|
|
@@ -22,22 +22,6 @@
|
|
|
22
22
|
"$ <%= config.bin %> <%= command.id %> --report-path=<path> --modules=content-types --filter=\"name=\"<filter-value>\" --copy-dir --copy-path=<path>"
|
|
23
23
|
],
|
|
24
24
|
"flags": {
|
|
25
|
-
"config": {
|
|
26
|
-
"name": "config",
|
|
27
|
-
"type": "option",
|
|
28
|
-
"char": "c",
|
|
29
|
-
"description": "Path of the external config",
|
|
30
|
-
"helpGroup": "COMMON",
|
|
31
|
-
"multiple": false
|
|
32
|
-
},
|
|
33
|
-
"data-dir": {
|
|
34
|
-
"name": "data-dir",
|
|
35
|
-
"type": "option",
|
|
36
|
-
"char": "d",
|
|
37
|
-
"description": "Path where the data is stored",
|
|
38
|
-
"helpGroup": "COMMON",
|
|
39
|
-
"multiple": false
|
|
40
|
-
},
|
|
41
25
|
"report-path": {
|
|
42
26
|
"name": "report-path",
|
|
43
27
|
"type": "option",
|
|
@@ -176,22 +160,6 @@
|
|
|
176
160
|
"$ <%= config.bin %> <%= command.id %> --report-path=<path> --modules=content-types --filter=\"name=\"<filter-value>\""
|
|
177
161
|
],
|
|
178
162
|
"flags": {
|
|
179
|
-
"config": {
|
|
180
|
-
"name": "config",
|
|
181
|
-
"type": "option",
|
|
182
|
-
"char": "c",
|
|
183
|
-
"description": "Path of the external config",
|
|
184
|
-
"helpGroup": "COMMON",
|
|
185
|
-
"multiple": false
|
|
186
|
-
},
|
|
187
|
-
"data-dir": {
|
|
188
|
-
"name": "data-dir",
|
|
189
|
-
"type": "option",
|
|
190
|
-
"char": "d",
|
|
191
|
-
"description": "Path where the data is stored",
|
|
192
|
-
"helpGroup": "COMMON",
|
|
193
|
-
"multiple": false
|
|
194
|
-
},
|
|
195
163
|
"report-path": {
|
|
196
164
|
"name": "report-path",
|
|
197
165
|
"type": "option",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-audit",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Contentstack audit plugin",
|
|
5
5
|
"author": "Contentstack CLI",
|
|
6
6
|
"homepage": "https://github.com/contentstack/cli",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"types": "./lib/index.d.ts",
|
|
10
10
|
"bin": {
|
|
11
|
-
"audit": "./bin/run"
|
|
11
|
+
"audit": "./bin/run.js"
|
|
12
12
|
},
|
|
13
13
|
"repository": "contentstack/audit",
|
|
14
14
|
"files": [
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"/oclif.manifest.json"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@contentstack/cli-command": "~1.2.
|
|
22
|
-
"@contentstack/cli-utilities": "~1.6.
|
|
21
|
+
"@contentstack/cli-command": "~1.2.18",
|
|
22
|
+
"@contentstack/cli-utilities": "~1.6.1",
|
|
23
23
|
"@oclif/plugin-help": "^5",
|
|
24
24
|
"@oclif/plugin-plugins": "^5.0.0",
|
|
25
25
|
"chalk": "^4.1.2",
|
package/bin/dev
DELETED