@contentstack/cli 1.11.0 → 1.11.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 CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version|-v)
21
- @contentstack/cli/1.11.0 linux-x64 node-v18.18.2
21
+ @contentstack/cli/1.11.1 linux-x64 node-v18.18.2
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -120,16 +120,20 @@ USAGE
120
120
  --no-truncate]
121
121
 
122
122
  FLAGS
123
+ --modules=<option>... Provide the list of modules to be audited
124
+ <options: content-types|global-fields|entries>
125
+ --report-path=<value> Path to store the audit reports
126
+
127
+ COMMON FLAGS
123
128
  -c, --config=<value> Path of the external config
124
129
  -d, --data-dir=<value> Path where the data is stored
125
- --columns=<value> only show provided columns (comma-separated)
126
- --csv output is csv format [alias: --output=csv]
127
- --filter=<value> filter property by partial string matching, ex: name=foo
128
- --modules=<option>... Provide the list of modules to be audited
129
- <options: content-types|global-fields|entries>
130
- --no-truncate do not truncate output to fit screen
131
- --report-path=<value> Path to store the audit reports
132
- --sort=<value> property to sort by (prepend '-' for descending)
130
+
131
+ TABLE FLAGS
132
+ --columns=<value> Show only the specified columns (comma-separated)
133
+ --csv The output is in the CSV format [alias: --output=csv]
134
+ --filter=<value> Filter property by partial string matching. For example: name=foo
135
+ --no-truncate The output is not truncated to fit the screen
136
+ --sort=<value> Property to sort by (prepend '-' for descending)
133
137
 
134
138
  DESCRIPTION
135
139
  Perform audits and find possible errors in the exported Contentstack data
@@ -157,22 +161,29 @@ Perform audits and fix possible errors in the exported Contentstack data.
157
161
  ```
158
162
  USAGE
159
163
  $ csdx audit:fix [-c <value>] [-d <value>] [--report-path <value>] [--modules
160
- content-types|global-fields|entries] [--copy-path <value> --copy-dir] [--columns <value> | ] [--sort <value>]
161
- [--filter <value>] [--csv | --no-truncate]
164
+ content-types|global-fields|entries] [--copy-path <value> --copy-dir] [--fix-only
165
+ reference|global_field|json:rte|json:custom-field|blocks|group] [--columns <value> | ] [--sort <value>] [--filter
166
+ <value>] [--csv | --no-truncate]
162
167
 
163
168
  FLAGS
164
- -c, --config=<value> Path of the external config
165
- -d, --data-dir=<value> Path where the data is stored
166
- --columns=<value> only show provided columns (comma-separated)
167
169
  --copy-dir Create backup from the original data.
168
170
  --copy-path=<value> Provide the path to backup the copied data
169
- --csv output is csv format [alias: --output=csv]
170
- --filter=<value> filter property by partial string matching, ex: name=foo
171
+ --fix-only=<option>... Provide the list of fix options
172
+ <options: reference|global_field|json:rte|json:custom-field|blocks|group>
171
173
  --modules=<option>... Provide the list of modules to be audited
172
174
  <options: content-types|global-fields|entries>
173
- --no-truncate do not truncate output to fit screen
174
175
  --report-path=<value> Path to store the audit reports
175
- --sort=<value> property to sort by (prepend '-' for descending)
176
+
177
+ COMMON FLAGS
178
+ -c, --config=<value> Path of the external config
179
+ -d, --data-dir=<value> Path where the data is stored
180
+
181
+ TABLE FLAGS
182
+ --columns=<value> Show only the specified columns (comma-separated)
183
+ --csv The output is in the CSV format [alias: --output=csv]
184
+ --filter=<value> Filter property by partial string matching. For example: name=foo
185
+ --no-truncate The output is not truncated to fit the screen
186
+ --sort=<value> Property to sort by (prepend '-' for descending)
176
187
 
177
188
  DESCRIPTION
178
189
  Perform audits and fix possible errors in the exported Contentstack data.
@@ -188,6 +199,8 @@ EXAMPLES
188
199
 
189
200
  $ csdx audit:fix --report-path=<path> --copy-dir --csv
190
201
 
202
+ $ csdx audit:fix --fix-only=reference,global_field --copy-dir
203
+
191
204
  $ csdx audit:fix --report-path=<path> --filter="name=<filter-value>"
192
205
 
193
206
  $ csdx audit:fix --report-path=<path> --modules=content-types --filter="name="<filter-value>" --copy-dir --copy-path=<path>
@@ -2359,16 +2372,20 @@ USAGE
2359
2372
  --no-truncate]
2360
2373
 
2361
2374
  FLAGS
2375
+ --modules=<option>... Provide the list of modules to be audited
2376
+ <options: content-types|global-fields|entries>
2377
+ --report-path=<value> Path to store the audit reports
2378
+
2379
+ COMMON FLAGS
2362
2380
  -c, --config=<value> Path of the external config
2363
2381
  -d, --data-dir=<value> Path where the data is stored
2364
- --columns=<value> only show provided columns (comma-separated)
2365
- --csv output is csv format [alias: --output=csv]
2366
- --filter=<value> filter property by partial string matching, ex: name=foo
2367
- --modules=<option>... Provide the list of modules to be audited
2368
- <options: content-types|global-fields|entries>
2369
- --no-truncate do not truncate output to fit screen
2370
- --report-path=<value> Path to store the audit reports
2371
- --sort=<value> property to sort by (prepend '-' for descending)
2382
+
2383
+ TABLE FLAGS
2384
+ --columns=<value> Show only the specified columns (comma-separated)
2385
+ --csv The output is in the CSV format [alias: --output=csv]
2386
+ --filter=<value> Filter property by partial string matching. For example: name=foo
2387
+ --no-truncate The output is not truncated to fit the screen
2388
+ --sort=<value> Property to sort by (prepend '-' for descending)
2372
2389
 
2373
2390
  DESCRIPTION
2374
2391
  Perform audits and find possible errors in the exported Contentstack data
@@ -2398,22 +2415,29 @@ Perform audits and fix possible errors in the exported Contentstack data.
2398
2415
  ```
2399
2416
  USAGE
2400
2417
  $ csdx cm:stacks:audit:fix [-c <value>] [-d <value>] [--report-path <value>] [--modules
2401
- content-types|global-fields|entries] [--copy-path <value> --copy-dir] [--columns <value> | ] [--sort <value>]
2402
- [--filter <value>] [--csv | --no-truncate]
2418
+ content-types|global-fields|entries] [--copy-path <value> --copy-dir] [--fix-only
2419
+ reference|global_field|json:rte|json:custom-field|blocks|group] [--columns <value> | ] [--sort <value>] [--filter
2420
+ <value>] [--csv | --no-truncate]
2403
2421
 
2404
2422
  FLAGS
2405
- -c, --config=<value> Path of the external config
2406
- -d, --data-dir=<value> Path where the data is stored
2407
- --columns=<value> only show provided columns (comma-separated)
2408
2423
  --copy-dir Create backup from the original data.
2409
2424
  --copy-path=<value> Provide the path to backup the copied data
2410
- --csv output is csv format [alias: --output=csv]
2411
- --filter=<value> filter property by partial string matching, ex: name=foo
2425
+ --fix-only=<option>... Provide the list of fix options
2426
+ <options: reference|global_field|json:rte|json:custom-field|blocks|group>
2412
2427
  --modules=<option>... Provide the list of modules to be audited
2413
2428
  <options: content-types|global-fields|entries>
2414
- --no-truncate do not truncate output to fit screen
2415
2429
  --report-path=<value> Path to store the audit reports
2416
- --sort=<value> property to sort by (prepend '-' for descending)
2430
+
2431
+ COMMON FLAGS
2432
+ -c, --config=<value> Path of the external config
2433
+ -d, --data-dir=<value> Path where the data is stored
2434
+
2435
+ TABLE FLAGS
2436
+ --columns=<value> Show only the specified columns (comma-separated)
2437
+ --csv The output is in the CSV format [alias: --output=csv]
2438
+ --filter=<value> Filter property by partial string matching. For example: name=foo
2439
+ --no-truncate The output is not truncated to fit the screen
2440
+ --sort=<value> Property to sort by (prepend '-' for descending)
2417
2441
 
2418
2442
  DESCRIPTION
2419
2443
  Perform audits and fix possible errors in the exported Contentstack data.
@@ -2429,6 +2453,8 @@ EXAMPLES
2429
2453
 
2430
2454
  $ csdx cm:stacks:audit:fix --report-path=<path> --copy-dir --csv
2431
2455
 
2456
+ $ csdx cm:stacks:audit:fix --fix-only=reference,global_field --copy-dir
2457
+
2432
2458
  $ csdx cm:stacks:audit:fix --report-path=<path> --filter="name=<filter-value>"
2433
2459
 
2434
2460
  $ csdx cm:stacks:audit:fix --report-path=<path> --modules=content-types --filter="name="<filter-value>" --copy-dir --copy-path=<path>
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "1.11.0",
2
+ "version": "1.11.1",
3
3
  "commands": {}
4
4
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli",
3
3
  "description": "Command-line tool (CLI) to interact with Contentstack",
4
- "version": "1.11.0",
4
+ "version": "1.11.1",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run"
@@ -22,22 +22,22 @@
22
22
  "prepack": "pnpm compile && oclif manifest && oclif readme"
23
23
  },
24
24
  "dependencies": {
25
- "@contentstack/cli-audit": "~1.2.1",
26
- "@contentstack/cli-auth": "~1.3.16",
27
- "@contentstack/cli-cm-bootstrap": "~1.6.2",
28
- "@contentstack/cli-cm-branches": "~1.0.16",
29
- "@contentstack/cli-cm-bulk-publish": "~1.3.14",
30
- "@contentstack/cli-cm-clone": "~1.7.0",
31
- "@contentstack/cli-cm-export": "~1.10.0",
32
- "@contentstack/cli-cm-export-to-csv": "~1.6.0",
33
- "@contentstack/cli-cm-import": "~1.11.0",
34
- "@contentstack/cli-cm-migrate-rte": "~1.4.14",
35
- "@contentstack/cli-cm-seed": "~1.6.2",
36
- "@contentstack/cli-command": "~1.2.15",
37
- "@contentstack/cli-config": "~1.4.14",
38
- "@contentstack/cli-launch": "~1.0.14",
39
- "@contentstack/cli-migration": "~1.4.0",
40
- "@contentstack/cli-utilities": "~1.5.5",
25
+ "@contentstack/cli-audit": "~1.3.0",
26
+ "@contentstack/cli-auth": "~1.3.17",
27
+ "@contentstack/cli-cm-bootstrap": "~1.6.3",
28
+ "@contentstack/cli-cm-branches": "~1.0.17",
29
+ "@contentstack/cli-cm-bulk-publish": "~1.3.15",
30
+ "@contentstack/cli-cm-clone": "~1.7.1",
31
+ "@contentstack/cli-cm-export": "~1.10.1",
32
+ "@contentstack/cli-cm-export-to-csv": "~1.6.1",
33
+ "@contentstack/cli-cm-import": "~1.11.1",
34
+ "@contentstack/cli-cm-migrate-rte": "~1.4.15",
35
+ "@contentstack/cli-cm-seed": "~1.6.3",
36
+ "@contentstack/cli-command": "~1.2.16",
37
+ "@contentstack/cli-config": "~1.4.15",
38
+ "@contentstack/cli-launch": "~1.0.15",
39
+ "@contentstack/cli-migration": "~1.4.1",
40
+ "@contentstack/cli-utilities": "~1.5.7",
41
41
  "@contentstack/management": "~1.12.0",
42
42
  "@oclif/core": "^2.9.3",
43
43
  "@oclif/plugin-help": "^5",