@contentstack/cli 1.21.1 → 1.21.2
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 +33 -22
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
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.
|
|
21
|
+
@contentstack/cli/1.21.2 linux-x64 node-v18.20.4
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -3222,20 +3222,27 @@ Launch related operations
|
|
|
3222
3222
|
USAGE
|
|
3223
3223
|
$ csdx launch [--type GitHub|FileUpload] [--framework Gatsby|NextJs|CRA (Create React App)|CSR
|
|
3224
3224
|
(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
|
-
|
|
3225
|
+
[--build-command <value>] [--out-dir <value>] [--variable-type Import variables from a stack|Manually add custom
|
|
3226
|
+
variables to the list|Import variables from the local env file] [-a <value>] [--env-variables <value>]
|
|
3227
|
+
|
|
3228
|
+
FLAGS
|
|
3229
|
+
-a, --alias=<value> [Optional] Alias(name) for the delivery token
|
|
3230
|
+
-e, --environment=<value> [Optional] Environment name for the Launch project
|
|
3231
|
+
-n, --name=<value> [Optional] Name of the project
|
|
3232
|
+
--branch=<value> [Optional] GitHub branch name
|
|
3233
|
+
--build-command=<value> [Optional] Build Command
|
|
3234
|
+
--env-variables=<value> [Optional] Provide the environment variables in the key:value format, separated by comma
|
|
3235
|
+
Ex:APP_ENV:prod, TEST_ENV:testVal
|
|
3236
|
+
--framework=<option> [Optional] Type of framework
|
|
3237
|
+
<options: Gatsby|NextJs|CRA (Create React App)|CSR (Client-Side
|
|
3238
|
+
Rendered)|Angular|VueJs|Other>
|
|
3239
|
+
--org=<value> [Optional] Provide the organization UID to create a new project or deployment
|
|
3240
|
+
--out-dir=<value> [Optional] Output Directory
|
|
3241
|
+
--type=<option> [Optional] Choose the type of adapters
|
|
3242
|
+
<options: GitHub|FileUpload>
|
|
3243
|
+
--variable-type=<option> [Optional] Provide a variable type.
|
|
3244
|
+
<options: Import variables from a stack|Manually add custom variables to the list|Import
|
|
3245
|
+
variables from the local env file>
|
|
3239
3246
|
|
|
3240
3247
|
DESCRIPTION
|
|
3241
3248
|
Launch related operations
|
|
@@ -3254,6 +3261,10 @@ EXAMPLES
|
|
|
3254
3261
|
$ csdx launch --config <path/to/launch/config/file> --type <options: GitHub|FileUpload>
|
|
3255
3262
|
|
|
3256
3263
|
$ 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>
|
|
3264
|
+
|
|
3265
|
+
$ 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>
|
|
3266
|
+
|
|
3267
|
+
$ 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
3268
|
```
|
|
3258
3269
|
|
|
3259
3270
|
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/index.ts)_
|
|
@@ -3498,7 +3509,7 @@ EXAMPLES
|
|
|
3498
3509
|
$ csdx plugins
|
|
3499
3510
|
```
|
|
3500
3511
|
|
|
3501
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3512
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/index.ts)_
|
|
3502
3513
|
|
|
3503
3514
|
## `csdx plugins:add PLUGIN`
|
|
3504
3515
|
|
|
@@ -3572,7 +3583,7 @@ EXAMPLES
|
|
|
3572
3583
|
$ csdx plugins:inspect myplugin
|
|
3573
3584
|
```
|
|
3574
3585
|
|
|
3575
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3586
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/inspect.ts)_
|
|
3576
3587
|
|
|
3577
3588
|
## `csdx plugins:install PLUGIN`
|
|
3578
3589
|
|
|
@@ -3621,7 +3632,7 @@ EXAMPLES
|
|
|
3621
3632
|
$ csdx plugins:install someuser/someplugin
|
|
3622
3633
|
```
|
|
3623
3634
|
|
|
3624
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3635
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/install.ts)_
|
|
3625
3636
|
|
|
3626
3637
|
## `csdx plugins:link PATH`
|
|
3627
3638
|
|
|
@@ -3651,7 +3662,7 @@ EXAMPLES
|
|
|
3651
3662
|
$ csdx plugins:link myplugin
|
|
3652
3663
|
```
|
|
3653
3664
|
|
|
3654
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3665
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/link.ts)_
|
|
3655
3666
|
|
|
3656
3667
|
## `csdx plugins:remove [PLUGIN]`
|
|
3657
3668
|
|
|
@@ -3692,7 +3703,7 @@ FLAGS
|
|
|
3692
3703
|
--reinstall Reinstall all plugins after uninstalling.
|
|
3693
3704
|
```
|
|
3694
3705
|
|
|
3695
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3706
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/reset.ts)_
|
|
3696
3707
|
|
|
3697
3708
|
## `csdx plugins:uninstall [PLUGIN]`
|
|
3698
3709
|
|
|
@@ -3720,7 +3731,7 @@ EXAMPLES
|
|
|
3720
3731
|
$ csdx plugins:uninstall myplugin
|
|
3721
3732
|
```
|
|
3722
3733
|
|
|
3723
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3734
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/uninstall.ts)_
|
|
3724
3735
|
|
|
3725
3736
|
## `csdx plugins:unlink [PLUGIN]`
|
|
3726
3737
|
|
|
@@ -3764,7 +3775,7 @@ DESCRIPTION
|
|
|
3764
3775
|
Update installed plugins.
|
|
3765
3776
|
```
|
|
3766
3777
|
|
|
3767
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
3778
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.2/src/commands/plugins/update.ts)_
|
|
3768
3779
|
|
|
3769
3780
|
## `csdx tokens`
|
|
3770
3781
|
|
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.21.
|
|
4
|
+
"version": "1.21.2",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run.js"
|
|
@@ -30,12 +30,12 @@
|
|
|
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.4",
|
|
34
34
|
"@contentstack/cli-cm-migrate-rte": "~1.4.18",
|
|
35
35
|
"@contentstack/cli-cm-seed": "~1.7.7",
|
|
36
36
|
"@contentstack/cli-command": "~1.2.19",
|
|
37
37
|
"@contentstack/cli-config": "~1.6.5",
|
|
38
|
-
"@contentstack/cli-launch": "~1.0
|
|
38
|
+
"@contentstack/cli-launch": "~1.1.0",
|
|
39
39
|
"@contentstack/cli-migration": "~1.6.0",
|
|
40
40
|
"@contentstack/cli-utilities": "~1.7.0",
|
|
41
41
|
"@contentstack/management": "~1.15.3",
|