@contentstack/cli 1.21.1 → 1.22.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 +39 -27
- package/oclif.manifest.json +1 -1
- package/package.json +9 -9
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.22.0 linux-x64 node-v18.20.4
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -69,7 +69,7 @@ USAGE
|
|
|
69
69
|
* [`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)
|
|
70
70
|
* [`csdx cm:migrate-rte`](#csdx-cmmigrate-rte)
|
|
71
71
|
* [`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)
|
|
72
|
-
* [`csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s <value>]`](#csdx-cmstacksseed---repo-value---org-value--k-value--n-value--y-value--s-value)
|
|
72
|
+
* [`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)
|
|
73
73
|
* [`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)
|
|
74
74
|
* [`csdx cm:stacks:audit`](#csdx-cmstacksaudit)
|
|
75
75
|
* [`csdx cm:stacks:audit:fix`](#csdx-cmstacksauditfix)
|
|
@@ -81,7 +81,7 @@ USAGE
|
|
|
81
81
|
* [`csdx cm:stacks:publish-clear-logs`](#csdx-cmstackspublish-clear-logs)
|
|
82
82
|
* [`csdx cm:stacks:publish-configure`](#csdx-cmstackspublish-configure)
|
|
83
83
|
* [`csdx cm:stacks:publish-revert`](#csdx-cmstackspublish-revert)
|
|
84
|
-
* [`csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s <value>]`](#csdx-cmstacksseed---repo-value---org-value--k-value--n-value--y-value--s-value-1)
|
|
84
|
+
* [`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-1)
|
|
85
85
|
* [`csdx csdx cm:stacks:unpublish [-a <value>] [-e <value>] [-c <value>] [-y] [--locale <value>] [--branch <value>] [--retry-failed <value>] [--bulk-unpublish <value>] [--content-type <value>] [--delivery-token <value>] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--a-value--e-value--c-value--y---locale-value---branch-value---retry-failed-value---bulk-unpublish-value---content-type-value---delivery-token-value---only-assets---only-entries-1)
|
|
86
86
|
* [`csdx config:get:base-branch`](#csdx-configgetbase-branch)
|
|
87
87
|
* [`csdx config:get:ea-header`](#csdx-configgetea-header)
|
|
@@ -2283,14 +2283,14 @@ EXAMPLES
|
|
|
2283
2283
|
$ csdx cm:migration --alias --file-path <migration/script/file/path> -k <api-key>
|
|
2284
2284
|
```
|
|
2285
2285
|
|
|
2286
|
-
## `csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s <value>]`
|
|
2286
|
+
## `csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s <value>] [--locale <value>]`
|
|
2287
2287
|
|
|
2288
2288
|
Create a stack from existing content types, entries, assets, etc
|
|
2289
2289
|
|
|
2290
2290
|
```
|
|
2291
2291
|
USAGE
|
|
2292
2292
|
$ csdx cm:seed cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s
|
|
2293
|
-
<value>]
|
|
2293
|
+
<value>] [--locale <value>]
|
|
2294
2294
|
|
|
2295
2295
|
FLAGS
|
|
2296
2296
|
-a, --alias=<value> Alias of the management token
|
|
@@ -2800,13 +2800,14 @@ EXAMPLES
|
|
|
2800
2800
|
|
|
2801
2801
|
_See code: [@contentstack/cli-cm-bulk-publish](https://github.com/contentstack/cli/blob/main/packages/contentstack-bulk-publish/src/commands/cm/stacks/publish-revert.js)_
|
|
2802
2802
|
|
|
2803
|
-
## `csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s <value>]`
|
|
2803
|
+
## `csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s <value>] [--locale <value>]`
|
|
2804
2804
|
|
|
2805
2805
|
Create a stack from existing content types, entries, assets, etc
|
|
2806
2806
|
|
|
2807
2807
|
```
|
|
2808
2808
|
USAGE
|
|
2809
2809
|
$ csdx cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>] [-n <value>] [-y <value>] [-s <value>]
|
|
2810
|
+
[--locale <value>]
|
|
2810
2811
|
|
|
2811
2812
|
FLAGS
|
|
2812
2813
|
-a, --alias=<value> Alias of the management token
|
|
@@ -3222,20 +3223,27 @@ Launch related operations
|
|
|
3222
3223
|
USAGE
|
|
3223
3224
|
$ csdx launch [--type GitHub|FileUpload] [--framework Gatsby|NextJs|CRA (Create React App)|CSR
|
|
3224
3225
|
(Client-Side Rendered)|Angular|VueJs|Other] [--org <value>] [-n <value>] [-e <value>] [--branch <value>]
|
|
3225
|
-
[--build-command <value>] [--out-dir <value>]
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
--
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
--
|
|
3237
|
-
|
|
3238
|
-
|
|
3226
|
+
[--build-command <value>] [--out-dir <value>] [--variable-type Import variables from a stack|Manually add custom
|
|
3227
|
+
variables to the list|Import variables from the local env file] [-a <value>] [--env-variables <value>]
|
|
3228
|
+
|
|
3229
|
+
FLAGS
|
|
3230
|
+
-a, --alias=<value> [Optional] Alias(name) for the delivery token
|
|
3231
|
+
-e, --environment=<value> [Optional] Environment name for the Launch project
|
|
3232
|
+
-n, --name=<value> [Optional] Name of the project
|
|
3233
|
+
--branch=<value> [Optional] GitHub branch name
|
|
3234
|
+
--build-command=<value> [Optional] Build Command
|
|
3235
|
+
--env-variables=<value> [Optional] Provide the environment variables in the key:value format, separated by comma
|
|
3236
|
+
Ex:APP_ENV:prod, TEST_ENV:testVal
|
|
3237
|
+
--framework=<option> [Optional] Type of framework
|
|
3238
|
+
<options: Gatsby|NextJs|CRA (Create React App)|CSR (Client-Side
|
|
3239
|
+
Rendered)|Angular|VueJs|Other>
|
|
3240
|
+
--org=<value> [Optional] Provide the organization UID to create a new project or deployment
|
|
3241
|
+
--out-dir=<value> [Optional] Output Directory
|
|
3242
|
+
--type=<option> [Optional] Choose the type of adapters
|
|
3243
|
+
<options: GitHub|FileUpload>
|
|
3244
|
+
--variable-type=<option> [Optional] Provide a variable type.
|
|
3245
|
+
<options: Import variables from a stack|Manually add custom variables to the list|Import
|
|
3246
|
+
variables from the local env file>
|
|
3239
3247
|
|
|
3240
3248
|
DESCRIPTION
|
|
3241
3249
|
Launch related operations
|
|
@@ -3254,6 +3262,10 @@ EXAMPLES
|
|
|
3254
3262
|
$ csdx launch --config <path/to/launch/config/file> --type <options: GitHub|FileUpload>
|
|
3255
3263
|
|
|
3256
3264
|
$ csdx launch --config <path/to/launch/config/file> --type <options: GitHub|FileUpload> --name=<value> --environment=<value> --branch=<value> --build-command=<value> --framework=<option> --org=<value> --out-dir=<value>
|
|
3265
|
+
|
|
3266
|
+
$ csdx launch --config <path/to/launch/config/file> --type <options: GitHub|FileUpload> --name=<value> --environment=<value> --branch=<value> --build-command=<value> --framework=<option> --org=<value> --out-dir=<value> --variable-type="Import variables from a stack" --alias=<value>
|
|
3267
|
+
|
|
3268
|
+
$ csdx launch --config <path/to/launch/config/file> --type <options: GitHub|FileUpload> --name=<value> --environment=<value> --branch=<value> --build-command=<value> --framework=<option> --org=<value> --out-dir=<value> --variable-type="Manually add custom variables to the list" --env-variables="APP_ENV:prod, TEST_ENV:testVal"
|
|
3257
3269
|
```
|
|
3258
3270
|
|
|
3259
3271
|
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/index.ts)_
|
|
@@ -3498,7 +3510,7 @@ EXAMPLES
|
|
|
3498
3510
|
$ csdx plugins
|
|
3499
3511
|
```
|
|
3500
3512
|
|
|
3501
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3513
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/index.ts)_
|
|
3502
3514
|
|
|
3503
3515
|
## `csdx plugins:add PLUGIN`
|
|
3504
3516
|
|
|
@@ -3572,7 +3584,7 @@ EXAMPLES
|
|
|
3572
3584
|
$ csdx plugins:inspect myplugin
|
|
3573
3585
|
```
|
|
3574
3586
|
|
|
3575
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3587
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/inspect.ts)_
|
|
3576
3588
|
|
|
3577
3589
|
## `csdx plugins:install PLUGIN`
|
|
3578
3590
|
|
|
@@ -3621,7 +3633,7 @@ EXAMPLES
|
|
|
3621
3633
|
$ csdx plugins:install someuser/someplugin
|
|
3622
3634
|
```
|
|
3623
3635
|
|
|
3624
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3636
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/install.ts)_
|
|
3625
3637
|
|
|
3626
3638
|
## `csdx plugins:link PATH`
|
|
3627
3639
|
|
|
@@ -3651,7 +3663,7 @@ EXAMPLES
|
|
|
3651
3663
|
$ csdx plugins:link myplugin
|
|
3652
3664
|
```
|
|
3653
3665
|
|
|
3654
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3666
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/link.ts)_
|
|
3655
3667
|
|
|
3656
3668
|
## `csdx plugins:remove [PLUGIN]`
|
|
3657
3669
|
|
|
@@ -3692,7 +3704,7 @@ FLAGS
|
|
|
3692
3704
|
--reinstall Reinstall all plugins after uninstalling.
|
|
3693
3705
|
```
|
|
3694
3706
|
|
|
3695
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3707
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/reset.ts)_
|
|
3696
3708
|
|
|
3697
3709
|
## `csdx plugins:uninstall [PLUGIN]`
|
|
3698
3710
|
|
|
@@ -3720,7 +3732,7 @@ EXAMPLES
|
|
|
3720
3732
|
$ csdx plugins:uninstall myplugin
|
|
3721
3733
|
```
|
|
3722
3734
|
|
|
3723
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3735
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/uninstall.ts)_
|
|
3724
3736
|
|
|
3725
3737
|
## `csdx plugins:unlink [PLUGIN]`
|
|
3726
3738
|
|
|
@@ -3764,7 +3776,7 @@ DESCRIPTION
|
|
|
3764
3776
|
Update installed plugins.
|
|
3765
3777
|
```
|
|
3766
3778
|
|
|
3767
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3779
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/update.ts)_
|
|
3768
3780
|
|
|
3769
3781
|
## `csdx tokens`
|
|
3770
3782
|
|
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.22.0",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run.js"
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
"prepack": "pnpm compile && oclif manifest && oclif readme"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@contentstack/cli-audit": "~1.6.
|
|
25
|
+
"@contentstack/cli-audit": "~1.6.5",
|
|
26
26
|
"@contentstack/cli-auth": "~1.3.20",
|
|
27
|
-
"@contentstack/cli-cm-bootstrap": "~1.
|
|
27
|
+
"@contentstack/cli-cm-bootstrap": "~1.10.0",
|
|
28
28
|
"@contentstack/cli-cm-branches": "~1.1.2",
|
|
29
29
|
"@contentstack/cli-cm-bulk-publish": "~1.4.8",
|
|
30
30
|
"@contentstack/cli-cm-export": "~1.11.6",
|
|
31
31
|
"@contentstack/cli-cm-clone": "~1.10.7",
|
|
32
32
|
"@contentstack/cli-cm-export-to-csv": "~1.7.2",
|
|
33
|
-
"@contentstack/cli-cm-import": "~1.16.
|
|
33
|
+
"@contentstack/cli-cm-import": "~1.16.5",
|
|
34
34
|
"@contentstack/cli-cm-migrate-rte": "~1.4.18",
|
|
35
|
-
"@contentstack/cli-cm-seed": "~1.7.
|
|
35
|
+
"@contentstack/cli-cm-seed": "~1.7.8",
|
|
36
36
|
"@contentstack/cli-command": "~1.2.19",
|
|
37
37
|
"@contentstack/cli-config": "~1.6.5",
|
|
38
|
-
"@contentstack/cli-launch": "~1.0
|
|
39
|
-
"@contentstack/cli-migration": "~1.6.
|
|
40
|
-
"@contentstack/cli-utilities": "~1.7.
|
|
41
|
-
"@contentstack/management": "~1.
|
|
38
|
+
"@contentstack/cli-launch": "~1.1.0",
|
|
39
|
+
"@contentstack/cli-migration": "~1.6.1",
|
|
40
|
+
"@contentstack/cli-utilities": "~1.7.1",
|
|
41
|
+
"@contentstack/management": "~1.17.0",
|
|
42
42
|
"@oclif/core": "^3.26.5",
|
|
43
43
|
"@oclif/plugin-help": "^5",
|
|
44
44
|
"@oclif/plugin-not-found": "^2.4.0",
|