@contentstack/cli 1.55.1 → 1.56.0
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 +91 -179
- package/oclif.manifest.json +1 -1
- package/package.json +20 -20
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.
|
|
21
|
+
@contentstack/cli/1.56.0 linux-x64 node-v22.22.0
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -71,10 +71,8 @@ USAGE
|
|
|
71
71
|
* [`csdx cm:migrate-rte`](#csdx-cmmigrate-rte)
|
|
72
72
|
* [`csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>] [--config-file <value>] [--config <value>] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple)
|
|
73
73
|
* [`csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s <value>] [--locale <value>]`](#csdx-cmstacksseed---repo-value---org-value--k-value--n-value--y-value--s-value---locale-value)
|
|
74
|
-
* [`csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent)
|
|
75
74
|
* [`csdx cm:stacks:audit`](#csdx-cmstacksaudit)
|
|
76
75
|
* [`csdx cm:stacks:audit:fix`](#csdx-cmstacksauditfix)
|
|
77
|
-
* [`csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent)
|
|
78
76
|
* [`csdx cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets]`](#csdx-cmstacksexport--c-value--k-value--d-value--a-value---module-value---content-types-value---branch-value---secured-assets)
|
|
79
77
|
* [`csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current]`](#csdx-cmstacksimport--c-value--k-value--d-value--a-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent)
|
|
80
78
|
* [`csdx cm:stacks:import-setup [-k <value>] [-d <value>] [-a <value>] [--modules <value,value>]`](#csdx-cmstacksimport-setup--k-value--d-value--a-value---modules-valuevalue)
|
|
@@ -89,16 +87,19 @@ USAGE
|
|
|
89
87
|
* [`csdx config:get:ea-header`](#csdx-configgetea-header)
|
|
90
88
|
* [`csdx config:get:early-access-header`](#csdx-configgetearly-access-header)
|
|
91
89
|
* [`csdx config:get:log`](#csdx-configgetlog)
|
|
90
|
+
* [`csdx config:get:proxy`](#csdx-configgetproxy)
|
|
92
91
|
* [`csdx config:get:rate-limit`](#csdx-configgetrate-limit)
|
|
93
92
|
* [`csdx config:get:region`](#csdx-configgetregion)
|
|
94
93
|
* [`csdx config:remove:base-branch`](#csdx-configremovebase-branch)
|
|
95
94
|
* [`csdx config:remove:ea-header`](#csdx-configremoveea-header)
|
|
96
95
|
* [`csdx config:remove:early-access-header`](#csdx-configremoveearly-access-header)
|
|
96
|
+
* [`csdx config:remove:proxy`](#csdx-configremoveproxy)
|
|
97
97
|
* [`csdx config:remove:rate-limit`](#csdx-configremoverate-limit)
|
|
98
98
|
* [`csdx config:set:base-branch`](#csdx-configsetbase-branch)
|
|
99
99
|
* [`csdx config:set:ea-header`](#csdx-configsetea-header)
|
|
100
100
|
* [`csdx config:set:early-access-header`](#csdx-configsetearly-access-header)
|
|
101
101
|
* [`csdx config:set:log`](#csdx-configsetlog)
|
|
102
|
+
* [`csdx config:set:proxy`](#csdx-configsetproxy)
|
|
102
103
|
* [`csdx config:set:rate-limit`](#csdx-configsetrate-limit)
|
|
103
104
|
* [`csdx config:set:region [REGION]`](#csdx-configsetregion-region)
|
|
104
105
|
* [`csdx help [COMMAND]`](#csdx-help-command)
|
|
@@ -2268,6 +2269,9 @@ FLAGS
|
|
|
2268
2269
|
DESCRIPTION
|
|
2269
2270
|
Export entries, taxonomies, terms or organization users to csv using this command
|
|
2270
2271
|
|
|
2272
|
+
ALIASES
|
|
2273
|
+
$ csdx cm:export-to-csv
|
|
2274
|
+
|
|
2271
2275
|
EXAMPLES
|
|
2272
2276
|
$ csdx cm:export-to-csv
|
|
2273
2277
|
|
|
@@ -2275,94 +2279,52 @@ EXAMPLES
|
|
|
2275
2279
|
|
|
2276
2280
|
Exporting entries to CSV
|
|
2277
2281
|
|
|
2278
|
-
$ csdx cm:export-to-csv --action
|
|
2282
|
+
$ csdx cm:export-to-csv --action entries --locale <locale> --alias <management-token-alias> --content-type <content-type>
|
|
2279
2283
|
|
|
2280
2284
|
|
|
2281
2285
|
|
|
2282
|
-
Exporting entries to CSV with stack name
|
|
2286
|
+
Exporting entries to CSV with stack name and branch
|
|
2283
2287
|
|
|
2284
|
-
$ csdx cm:export-to-csv --action
|
|
2288
|
+
$ csdx cm:export-to-csv --action entries --locale <locale> --alias <management-token-alias> --content-type <content-type> --stack-name <stack-name> --branch <branch-name>
|
|
2285
2289
|
|
|
2286
2290
|
|
|
2287
2291
|
|
|
2288
2292
|
Exporting organization users to CSV
|
|
2289
2293
|
|
|
2290
|
-
$ csdx cm:export-to-csv --action
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
Exporting organization users to CSV with organization name provided
|
|
2295
|
-
|
|
2296
|
-
$ csdx cm:export-to-csv --action <users> --org <org-uid> --org-name <org-name>
|
|
2294
|
+
$ csdx cm:export-to-csv --action users --org <org-uid>
|
|
2297
2295
|
|
|
2298
2296
|
|
|
2299
2297
|
|
|
2300
2298
|
Exporting organization teams to CSV
|
|
2301
2299
|
|
|
2302
|
-
$ csdx cm:export-to-csv --action <
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
Exporting organization teams to CSV with org UID
|
|
2307
|
-
|
|
2308
|
-
$ csdx cm:export-to-csv --action <teams> --org <org-uid>
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
Exporting organization teams to CSV with team UID
|
|
2313
|
-
|
|
2314
|
-
$ csdx cm:export-to-csv --action <teams> --team-uid <team-uid>
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
Exporting organization teams to CSV with org UID and team UID
|
|
2319
|
-
|
|
2320
|
-
$ csdx cm:export-to-csv --action <teams> --org <org-uid> --team-uid <team-uid>
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
Exporting organization teams to CSV with org UID and team UID
|
|
2325
|
-
|
|
2326
|
-
$ csdx cm:export-to-csv --action <teams> --org <org-uid> --team-uid <team-uid> --org-name <org-name>
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
Exporting taxonomies and related terms to a .CSV file with the provided taxonomy UID
|
|
2331
|
-
|
|
2332
|
-
$ csdx cm:export-to-csv --action <taxonomies> --alias <management-token-alias> --taxonomy-uid <taxonomy-uid>
|
|
2333
|
-
|
|
2300
|
+
$ csdx cm:export-to-csv --action teams --org <org-uid>
|
|
2334
2301
|
|
|
2335
2302
|
|
|
2336
|
-
Exporting taxonomies and respective terms to a .CSV file
|
|
2337
2303
|
|
|
2338
|
-
|
|
2304
|
+
Exporting teams with specific team UID
|
|
2339
2305
|
|
|
2306
|
+
$ csdx cm:export-to-csv --action teams --org <org-uid> --team-uid <team-uid>
|
|
2340
2307
|
|
|
2341
2308
|
|
|
2342
|
-
Exporting taxonomies and respective terms to a .CSV file with a delimiter
|
|
2343
2309
|
|
|
2344
|
-
|
|
2310
|
+
Exporting taxonomies to CSV
|
|
2345
2311
|
|
|
2312
|
+
$ csdx cm:export-to-csv --action taxonomies --alias <management-token-alias>
|
|
2346
2313
|
|
|
2347
2314
|
|
|
2348
|
-
Exporting taxonomies with specific locale
|
|
2349
2315
|
|
|
2350
|
-
|
|
2316
|
+
Exporting specific taxonomy with locale
|
|
2351
2317
|
|
|
2318
|
+
$ csdx cm:export-to-csv --action taxonomies --alias <management-token-alias> --taxonomy-uid <taxonomy-uid> --locale <locale>
|
|
2352
2319
|
|
|
2353
2320
|
|
|
2354
|
-
Exporting taxonomies with fallback locale support
|
|
2355
2321
|
|
|
2356
|
-
|
|
2322
|
+
Exporting taxonomies with fallback locale
|
|
2357
2323
|
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
Exporting taxonomies with custom fallback locale
|
|
2361
|
-
|
|
2362
|
-
$ csdx cm:export-to-csv --action <taxonomies> --alias <management-token-alias> --locale <locale> --include-fallback --fallback-locale <fallback-locale>
|
|
2324
|
+
$ csdx cm:export-to-csv --action taxonomies --alias <management-token-alias> --locale <locale> --include-fallback --fallback-locale <fallback-locale>
|
|
2363
2325
|
```
|
|
2364
2326
|
|
|
2365
|
-
_See code: [@contentstack/cli-cm-export-to-csv](https://github.com/contentstack/cli/blob/main/packages/contentstack-export-to-csv/src/commands/cm/export-to-csv.
|
|
2327
|
+
_See code: [@contentstack/cli-cm-export-to-csv](https://github.com/contentstack/cli/blob/main/packages/contentstack-export-to-csv/src/commands/cm/export-to-csv.ts)_
|
|
2366
2328
|
|
|
2367
2329
|
## `csdx cm:stacks:import [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--backup-dir <value>] [--branch <value>] [--import-webhook-status disable|current]`
|
|
2368
2330
|
|
|
@@ -2638,61 +2600,6 @@ EXAMPLES
|
|
|
2638
2600
|
$ csdx cm:stacks:seed --repo "account/repository" --org "your-org-uid" --stack-name "stack-name" //create a new stack in given org uid
|
|
2639
2601
|
```
|
|
2640
2602
|
|
|
2641
|
-
## `csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]`
|
|
2642
|
-
|
|
2643
|
-
Clone data (structure/content or both) of a stack into another stack
|
|
2644
|
-
|
|
2645
|
-
```
|
|
2646
|
-
USAGE
|
|
2647
|
-
$ csdx cm:stack-clone cm:stacks:clone [--source-branch <value>] [--target-branch <value>]
|
|
2648
|
-
[--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b]
|
|
2649
|
-
[--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]
|
|
2650
|
-
|
|
2651
|
-
FLAGS
|
|
2652
|
-
-c, --config=<value> Path for the external configuration
|
|
2653
|
-
-n, --stack-name=<value> Provide a name for the new stack to store the cloned content.
|
|
2654
|
-
-y, --yes Force override all Marketplace prompts.
|
|
2655
|
-
--destination-management-token-alias=<value> Destination management token alias.
|
|
2656
|
-
--destination-stack-api-key=<value> Destination stack API key
|
|
2657
|
-
--import-webhook-status=<option> [default: disable] [default: disable] (optional) The status of the
|
|
2658
|
-
import webhook. <options: disable|current>
|
|
2659
|
-
<options: disable|current>
|
|
2660
|
-
--skip-audit (optional) Skips the audit fix that occurs during an import
|
|
2661
|
-
operation.
|
|
2662
|
-
--source-branch=<value> Branch of the source stack.
|
|
2663
|
-
--source-branch-alias=<value> Alias of Branch of the source stack.
|
|
2664
|
-
--source-management-token-alias=<value> Source management token alias.
|
|
2665
|
-
--source-stack-api-key=<value> Source stack API key
|
|
2666
|
-
--target-branch=<value> Branch of the target stack.
|
|
2667
|
-
--target-branch-alias=<value> Alias of Branch of the target stack.
|
|
2668
|
-
--type=<option> Type of data to clone. You can select option a or b.
|
|
2669
|
-
a) Structure (all modules except entries & assets).
|
|
2670
|
-
b) Structure with content (all modules including entries & assets).
|
|
2671
|
-
|
|
2672
|
-
<options: a|b>
|
|
2673
|
-
|
|
2674
|
-
DESCRIPTION
|
|
2675
|
-
Clone data (structure/content or both) of a stack into another stack
|
|
2676
|
-
Use this plugin to automate the process of cloning a stack in few steps.
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
ALIASES
|
|
2680
|
-
$ csdx cm:stack-clone
|
|
2681
|
-
|
|
2682
|
-
EXAMPLES
|
|
2683
|
-
$ csdx cm:stacks:clone
|
|
2684
|
-
|
|
2685
|
-
$ csdx cm:stacks:clone --source-branch <source-branch-name> --target-branch <target-branch-name> --yes
|
|
2686
|
-
|
|
2687
|
-
$ csdx cm:stacks:clone --source-stack-api-key <apiKey> --destination-stack-api-key <apiKey>
|
|
2688
|
-
|
|
2689
|
-
$ csdx cm:stacks:clone --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias>
|
|
2690
|
-
|
|
2691
|
-
$ csdx cm:stacks:clone --source-branch --target-branch --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias>
|
|
2692
|
-
|
|
2693
|
-
$ csdx cm:stacks:clone --source-branch --target-branch --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias> --type <value a or b>
|
|
2694
|
-
```
|
|
2695
|
-
|
|
2696
2603
|
## `csdx cm:stacks:audit`
|
|
2697
2604
|
|
|
2698
2605
|
Perform audits and find possible errors in the exported Contentstack data
|
|
@@ -2806,63 +2713,6 @@ EXAMPLES
|
|
|
2806
2713
|
|
|
2807
2714
|
_See code: [@contentstack/cli-audit](https://github.com/contentstack/audit/blob/main/packages/contentstack-audit/src/commands/cm/stacks/audit/fix.ts)_
|
|
2808
2715
|
|
|
2809
|
-
## `csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]`
|
|
2810
|
-
|
|
2811
|
-
Clone data (structure/content or both) of a stack into another stack
|
|
2812
|
-
|
|
2813
|
-
```
|
|
2814
|
-
USAGE
|
|
2815
|
-
$ csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias
|
|
2816
|
-
<value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>]
|
|
2817
|
-
[--destination-stack-api-key <value>] [--import-webhook-status disable|current]
|
|
2818
|
-
|
|
2819
|
-
FLAGS
|
|
2820
|
-
-c, --config=<value> Path for the external configuration
|
|
2821
|
-
-n, --stack-name=<value> Provide a name for the new stack to store the cloned content.
|
|
2822
|
-
-y, --yes Force override all Marketplace prompts.
|
|
2823
|
-
--destination-management-token-alias=<value> Destination management token alias.
|
|
2824
|
-
--destination-stack-api-key=<value> Destination stack API key
|
|
2825
|
-
--import-webhook-status=<option> [default: disable] [default: disable] (optional) The status of the
|
|
2826
|
-
import webhook. <options: disable|current>
|
|
2827
|
-
<options: disable|current>
|
|
2828
|
-
--skip-audit (optional) Skips the audit fix that occurs during an import
|
|
2829
|
-
operation.
|
|
2830
|
-
--source-branch=<value> Branch of the source stack.
|
|
2831
|
-
--source-branch-alias=<value> Alias of Branch of the source stack.
|
|
2832
|
-
--source-management-token-alias=<value> Source management token alias.
|
|
2833
|
-
--source-stack-api-key=<value> Source stack API key
|
|
2834
|
-
--target-branch=<value> Branch of the target stack.
|
|
2835
|
-
--target-branch-alias=<value> Alias of Branch of the target stack.
|
|
2836
|
-
--type=<option> Type of data to clone. You can select option a or b.
|
|
2837
|
-
a) Structure (all modules except entries & assets).
|
|
2838
|
-
b) Structure with content (all modules including entries & assets).
|
|
2839
|
-
|
|
2840
|
-
<options: a|b>
|
|
2841
|
-
|
|
2842
|
-
DESCRIPTION
|
|
2843
|
-
Clone data (structure/content or both) of a stack into another stack
|
|
2844
|
-
Use this plugin to automate the process of cloning a stack in few steps.
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
ALIASES
|
|
2848
|
-
$ csdx cm:stack-clone
|
|
2849
|
-
|
|
2850
|
-
EXAMPLES
|
|
2851
|
-
$ csdx cm:stacks:clone
|
|
2852
|
-
|
|
2853
|
-
$ csdx cm:stacks:clone --source-branch <source-branch-name> --target-branch <target-branch-name> --yes
|
|
2854
|
-
|
|
2855
|
-
$ csdx cm:stacks:clone --source-stack-api-key <apiKey> --destination-stack-api-key <apiKey>
|
|
2856
|
-
|
|
2857
|
-
$ csdx cm:stacks:clone --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias>
|
|
2858
|
-
|
|
2859
|
-
$ csdx cm:stacks:clone --source-branch --target-branch --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias>
|
|
2860
|
-
|
|
2861
|
-
$ csdx cm:stacks:clone --source-branch --target-branch --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias> --type <value a or b>
|
|
2862
|
-
```
|
|
2863
|
-
|
|
2864
|
-
_See code: [@contentstack/cli-cm-clone](https://github.com/contentstack/cli/blob/main/packages/contentstack-clone/src/commands/cm/stacks/clone.js)_
|
|
2865
|
-
|
|
2866
2716
|
## `csdx cm:stacks:export [-c <value>] [-k <value>] [-d <value>] [-a <value>] [--module <value>] [--content-types <value>] [--branch <value>] [--secured-assets]`
|
|
2867
2717
|
|
|
2868
2718
|
Export content from a stack
|
|
@@ -3458,6 +3308,23 @@ EXAMPLES
|
|
|
3458
3308
|
|
|
3459
3309
|
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/log.ts)_
|
|
3460
3310
|
|
|
3311
|
+
## `csdx config:get:proxy`
|
|
3312
|
+
|
|
3313
|
+
Get proxy configuration for CLI
|
|
3314
|
+
|
|
3315
|
+
```
|
|
3316
|
+
USAGE
|
|
3317
|
+
$ csdx config:get:proxy
|
|
3318
|
+
|
|
3319
|
+
DESCRIPTION
|
|
3320
|
+
Get proxy configuration for CLI
|
|
3321
|
+
|
|
3322
|
+
EXAMPLES
|
|
3323
|
+
$ csdx config:get:proxy
|
|
3324
|
+
```
|
|
3325
|
+
|
|
3326
|
+
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/proxy.ts)_
|
|
3327
|
+
|
|
3461
3328
|
## `csdx config:get:rate-limit`
|
|
3462
3329
|
|
|
3463
3330
|
Get rate-limit of organizations
|
|
@@ -3567,6 +3434,23 @@ EXAMPLES
|
|
|
3567
3434
|
|
|
3568
3435
|
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/remove/early-access-header.ts)_
|
|
3569
3436
|
|
|
3437
|
+
## `csdx config:remove:proxy`
|
|
3438
|
+
|
|
3439
|
+
Remove proxy configuration from global config
|
|
3440
|
+
|
|
3441
|
+
```
|
|
3442
|
+
USAGE
|
|
3443
|
+
$ csdx config:remove:proxy
|
|
3444
|
+
|
|
3445
|
+
DESCRIPTION
|
|
3446
|
+
Remove proxy configuration from global config
|
|
3447
|
+
|
|
3448
|
+
EXAMPLES
|
|
3449
|
+
$ csdx config:remove:proxy
|
|
3450
|
+
```
|
|
3451
|
+
|
|
3452
|
+
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/remove/proxy.ts)_
|
|
3453
|
+
|
|
3570
3454
|
## `csdx config:remove:rate-limit`
|
|
3571
3455
|
|
|
3572
3456
|
Remove rate-limit of the organization
|
|
@@ -3698,6 +3582,34 @@ EXAMPLES
|
|
|
3698
3582
|
|
|
3699
3583
|
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/log.ts)_
|
|
3700
3584
|
|
|
3585
|
+
## `csdx config:set:proxy`
|
|
3586
|
+
|
|
3587
|
+
Set proxy configuration for CLI
|
|
3588
|
+
|
|
3589
|
+
```
|
|
3590
|
+
USAGE
|
|
3591
|
+
$ csdx config:set:proxy --host <value> --port <value> --protocol http|https [--username <value>]
|
|
3592
|
+
|
|
3593
|
+
FLAGS
|
|
3594
|
+
--host=<value> (required) Proxy host address
|
|
3595
|
+
--port=<value> (required) Proxy port number
|
|
3596
|
+
--protocol=<option> (required) [default: http] Proxy protocol (http or https)
|
|
3597
|
+
<options: http|https>
|
|
3598
|
+
--username=<value> Proxy username (optional)
|
|
3599
|
+
|
|
3600
|
+
DESCRIPTION
|
|
3601
|
+
Set proxy configuration for CLI
|
|
3602
|
+
|
|
3603
|
+
EXAMPLES
|
|
3604
|
+
$ csdx config:set:proxy --host 127.0.0.1 --port 3128
|
|
3605
|
+
|
|
3606
|
+
$ csdx config:set:proxy --host proxy.example.com --port 8080 --protocol https
|
|
3607
|
+
|
|
3608
|
+
$ csdx config:set:proxy --host proxy.example.com --port 8080 --username user
|
|
3609
|
+
```
|
|
3610
|
+
|
|
3611
|
+
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/proxy.ts)_
|
|
3612
|
+
|
|
3701
3613
|
## `csdx config:set:rate-limit`
|
|
3702
3614
|
|
|
3703
3615
|
Set rate-limit for CLI
|
|
@@ -3803,7 +3715,7 @@ DESCRIPTION
|
|
|
3803
3715
|
Display help for csdx.
|
|
3804
3716
|
```
|
|
3805
3717
|
|
|
3806
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
3718
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.37/src/commands/help.ts)_
|
|
3807
3719
|
|
|
3808
3720
|
## `csdx launch`
|
|
3809
3721
|
|
|
@@ -4122,7 +4034,7 @@ EXAMPLES
|
|
|
4122
4034
|
$ csdx plugins
|
|
4123
4035
|
```
|
|
4124
4036
|
|
|
4125
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4037
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/index.ts)_
|
|
4126
4038
|
|
|
4127
4039
|
## `csdx plugins:add PLUGIN`
|
|
4128
4040
|
|
|
@@ -4196,7 +4108,7 @@ EXAMPLES
|
|
|
4196
4108
|
$ csdx plugins:inspect myplugin
|
|
4197
4109
|
```
|
|
4198
4110
|
|
|
4199
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4111
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/inspect.ts)_
|
|
4200
4112
|
|
|
4201
4113
|
## `csdx plugins:install PLUGIN`
|
|
4202
4114
|
|
|
@@ -4245,7 +4157,7 @@ EXAMPLES
|
|
|
4245
4157
|
$ csdx plugins:install someuser/someplugin
|
|
4246
4158
|
```
|
|
4247
4159
|
|
|
4248
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4160
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/install.ts)_
|
|
4249
4161
|
|
|
4250
4162
|
## `csdx plugins:link PATH`
|
|
4251
4163
|
|
|
@@ -4276,7 +4188,7 @@ EXAMPLES
|
|
|
4276
4188
|
$ csdx plugins:link myplugin
|
|
4277
4189
|
```
|
|
4278
4190
|
|
|
4279
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4191
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/link.ts)_
|
|
4280
4192
|
|
|
4281
4193
|
## `csdx plugins:remove [PLUGIN]`
|
|
4282
4194
|
|
|
@@ -4317,7 +4229,7 @@ FLAGS
|
|
|
4317
4229
|
--reinstall Reinstall all plugins after uninstalling.
|
|
4318
4230
|
```
|
|
4319
4231
|
|
|
4320
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4232
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/reset.ts)_
|
|
4321
4233
|
|
|
4322
4234
|
## `csdx plugins:uninstall [PLUGIN]`
|
|
4323
4235
|
|
|
@@ -4345,7 +4257,7 @@ EXAMPLES
|
|
|
4345
4257
|
$ csdx plugins:uninstall myplugin
|
|
4346
4258
|
```
|
|
4347
4259
|
|
|
4348
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4260
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/uninstall.ts)_
|
|
4349
4261
|
|
|
4350
4262
|
## `csdx plugins:unlink [PLUGIN]`
|
|
4351
4263
|
|
|
@@ -4389,7 +4301,7 @@ DESCRIPTION
|
|
|
4389
4301
|
Update installed plugins.
|
|
4390
4302
|
```
|
|
4391
4303
|
|
|
4392
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.
|
|
4304
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/update.ts)_
|
|
4393
4305
|
|
|
4394
4306
|
## `csdx tokens`
|
|
4395
4307
|
|
package/oclif.manifest.json
CHANGED
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.
|
|
4
|
+
"version": "1.56.0",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run.js"
|
|
@@ -22,24 +22,24 @@
|
|
|
22
22
|
"prepack": "pnpm compile && oclif manifest && oclif readme"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@contentstack/cli-audit": "~1.17.
|
|
26
|
-
"@contentstack/cli-cm-export": "~1.23.
|
|
27
|
-
"@contentstack/cli-cm-import": "~1.31.
|
|
28
|
-
"@contentstack/cli-auth": "~1.7.
|
|
29
|
-
"@contentstack/cli-cm-bootstrap": "~1.18.
|
|
30
|
-
"@contentstack/cli-cm-branches": "~1.6.
|
|
31
|
-
"@contentstack/cli-cm-bulk-publish": "~1.10.
|
|
32
|
-
"@contentstack/cli-cm-clone": "~1.
|
|
33
|
-
"@contentstack/cli-cm-export-to-csv": "~1.
|
|
34
|
-
"@contentstack/cli-cm-import-setup": "~1.7.
|
|
35
|
-
"@contentstack/cli-cm-migrate-rte": "~1.6.
|
|
36
|
-
"@contentstack/cli-cm-seed": "~1.14.
|
|
37
|
-
"@contentstack/cli-command": "~1.7.
|
|
38
|
-
"@contentstack/cli-config": "~1.
|
|
25
|
+
"@contentstack/cli-audit": "~1.17.1",
|
|
26
|
+
"@contentstack/cli-cm-export": "~1.23.1",
|
|
27
|
+
"@contentstack/cli-cm-import": "~1.31.2",
|
|
28
|
+
"@contentstack/cli-auth": "~1.7.2",
|
|
29
|
+
"@contentstack/cli-cm-bootstrap": "~1.18.2",
|
|
30
|
+
"@contentstack/cli-cm-branches": "~1.6.3",
|
|
31
|
+
"@contentstack/cli-cm-bulk-publish": "~1.10.6",
|
|
32
|
+
"@contentstack/cli-cm-clone": "~1.20.0",
|
|
33
|
+
"@contentstack/cli-cm-export-to-csv": "~1.11.0",
|
|
34
|
+
"@contentstack/cli-cm-import-setup": "~1.7.3",
|
|
35
|
+
"@contentstack/cli-cm-migrate-rte": "~1.6.4",
|
|
36
|
+
"@contentstack/cli-cm-seed": "~1.14.2",
|
|
37
|
+
"@contentstack/cli-command": "~1.7.2",
|
|
38
|
+
"@contentstack/cli-config": "~1.18.0",
|
|
39
39
|
"@contentstack/cli-launch": "^1.9.2",
|
|
40
|
-
"@contentstack/cli-migration": "~1.10.
|
|
41
|
-
"@contentstack/cli-utilities": "~1.
|
|
42
|
-
"@contentstack/cli-variants": "~1.3.
|
|
40
|
+
"@contentstack/cli-migration": "~1.10.3",
|
|
41
|
+
"@contentstack/cli-utilities": "~1.17.0",
|
|
42
|
+
"@contentstack/cli-variants": "~1.3.7",
|
|
43
43
|
"@contentstack/management": "~1.27.3",
|
|
44
44
|
"@oclif/core": "^4.3.0",
|
|
45
45
|
"@oclif/plugin-help": "^6.2.28",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@types/mocha": "^8.2.3",
|
|
65
65
|
"@types/node": "^14.18.63",
|
|
66
66
|
"@types/semver": "^7.7.0",
|
|
67
|
-
"@types/sinon": "^
|
|
67
|
+
"@types/sinon": "^21.0.0",
|
|
68
68
|
"chai": "^4.5.0",
|
|
69
69
|
"eslint": "^8.57.1",
|
|
70
70
|
"eslint-config-oclif": "^6.0.62",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"oclif": "^4.17.46",
|
|
77
77
|
"rimraf": "^5.0.10",
|
|
78
78
|
"shelljs": "^0.10.0",
|
|
79
|
-
"sinon": "^
|
|
79
|
+
"sinon": "^21.0.1",
|
|
80
80
|
"tmp": "^0.2.3",
|
|
81
81
|
"ts-node": "^10.9.2",
|
|
82
82
|
"tslib": "^2.8.1",
|