@contentstack/cli 1.11.2 → 1.12.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 +204 -28
- package/lib/hooks/init/utils-init.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +13 -13
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.12.0 linux-x64 node-v18.19.0
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -84,9 +84,15 @@ USAGE
|
|
|
84
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)
|
|
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
|
+
* [`csdx config:get:ea-header`](#csdx-configgetea-header)
|
|
88
|
+
* [`csdx config:get:early-access-header`](#csdx-configgetearly-access-header)
|
|
87
89
|
* [`csdx config:get:region`](#csdx-configgetregion)
|
|
88
90
|
* [`csdx config:remove:base-branch`](#csdx-configremovebase-branch)
|
|
91
|
+
* [`csdx config:remove:ea-header`](#csdx-configremoveea-header)
|
|
92
|
+
* [`csdx config:remove:early-access-header`](#csdx-configremoveearly-access-header)
|
|
89
93
|
* [`csdx config:set:base-branch`](#csdx-configsetbase-branch)
|
|
94
|
+
* [`csdx config:set:ea-header`](#csdx-configsetea-header)
|
|
95
|
+
* [`csdx config:set:early-access-header`](#csdx-configsetearly-access-header)
|
|
90
96
|
* [`csdx config:set:region [REGION]`](#csdx-configsetregion-region)
|
|
91
97
|
* [`csdx help [COMMANDS]`](#csdx-help-commands)
|
|
92
98
|
* [`csdx launch`](#csdx-launch)
|
|
@@ -103,6 +109,7 @@ USAGE
|
|
|
103
109
|
* [`csdx plugins:install PLUGIN...`](#csdx-pluginsinstall-plugin-1)
|
|
104
110
|
* [`csdx plugins:link PLUGIN`](#csdx-pluginslink-plugin)
|
|
105
111
|
* [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin)
|
|
112
|
+
* [`csdx plugins:reset`](#csdx-pluginsreset)
|
|
106
113
|
* [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin-1)
|
|
107
114
|
* [`csdx plugins:uninstall PLUGIN...`](#csdx-pluginsuninstall-plugin-2)
|
|
108
115
|
* [`csdx plugins:update`](#csdx-pluginsupdate)
|
|
@@ -2059,55 +2066,55 @@ EXAMPLES
|
|
|
2059
2066
|
|
|
2060
2067
|
|
|
2061
2068
|
|
|
2062
|
-
Exporting entries to
|
|
2069
|
+
Exporting entries to CSV
|
|
2063
2070
|
|
|
2064
2071
|
$ csdx cm:export-to-csv --action <entries> --locale <locale> --alias <management-token-alias> --content-type <content-type>
|
|
2065
2072
|
|
|
2066
2073
|
|
|
2067
2074
|
|
|
2068
|
-
Exporting entries to
|
|
2075
|
+
Exporting entries to CSV with stack name provided and branch name provided
|
|
2069
2076
|
|
|
2070
2077
|
$ csdx cm:export-to-csv --action <entries> --locale <locale> --alias <management-token-alias> --content-type <content-type> --stack-name <stack-name> --branch <branch-name>
|
|
2071
2078
|
|
|
2072
2079
|
|
|
2073
2080
|
|
|
2074
|
-
Exporting organization users to
|
|
2081
|
+
Exporting organization users to CSV
|
|
2075
2082
|
|
|
2076
2083
|
$ csdx cm:export-to-csv --action <users> --org <org-uid>
|
|
2077
2084
|
|
|
2078
2085
|
|
|
2079
2086
|
|
|
2080
|
-
Exporting organization users to
|
|
2087
|
+
Exporting organization users to CSV with organization name provided
|
|
2081
2088
|
|
|
2082
2089
|
$ csdx cm:export-to-csv --action <users> --org <org-uid> --org-name <org-name>
|
|
2083
2090
|
|
|
2084
2091
|
|
|
2085
2092
|
|
|
2086
|
-
Exporting
|
|
2093
|
+
Exporting organization teams to CSV
|
|
2087
2094
|
|
|
2088
2095
|
$ csdx cm:export-to-csv --action <teams>
|
|
2089
2096
|
|
|
2090
2097
|
|
|
2091
2098
|
|
|
2092
|
-
Exporting
|
|
2099
|
+
Exporting organization teams to CSV with org UID
|
|
2093
2100
|
|
|
2094
2101
|
$ csdx cm:export-to-csv --action <teams> --org <org-uid>
|
|
2095
2102
|
|
|
2096
2103
|
|
|
2097
2104
|
|
|
2098
|
-
Exporting
|
|
2105
|
+
Exporting organization teams to CSV with team UID
|
|
2099
2106
|
|
|
2100
2107
|
$ csdx cm:export-to-csv --action <teams> --team-uid <team-uid>
|
|
2101
2108
|
|
|
2102
2109
|
|
|
2103
2110
|
|
|
2104
|
-
Exporting
|
|
2111
|
+
Exporting organization teams to CSV with org UID and team UID
|
|
2105
2112
|
|
|
2106
2113
|
$ csdx cm:export-to-csv --action <teams> --org <org-uid> --team-uid <team-uid>
|
|
2107
2114
|
|
|
2108
2115
|
|
|
2109
2116
|
|
|
2110
|
-
Exporting
|
|
2117
|
+
Exporting organization teams to CSV with org UID and team UID
|
|
2111
2118
|
|
|
2112
2119
|
$ csdx cm:export-to-csv --action <teams> --org <org-uid> --team-uid <team-uid> --org-name <org-name>
|
|
2113
2120
|
|
|
@@ -2153,6 +2160,7 @@ FLAGS
|
|
|
2153
2160
|
--import-webhook-status=<option> [default: disable] [optional] Webhook state
|
|
2154
2161
|
<options: disable|current>
|
|
2155
2162
|
--replace-existing Replaces the existing module in the target stack.
|
|
2163
|
+
--skip-app-recreation [optional] Skip private apps recreation if already exist
|
|
2156
2164
|
--skip-existing Skips the module exists warning messages.
|
|
2157
2165
|
|
|
2158
2166
|
DESCRIPTION
|
|
@@ -2578,6 +2586,7 @@ FLAGS
|
|
|
2578
2586
|
--import-webhook-status=<option> [default: disable] [optional] Webhook state
|
|
2579
2587
|
<options: disable|current>
|
|
2580
2588
|
--replace-existing Replaces the existing module in the target stack.
|
|
2589
|
+
--skip-app-recreation [optional] Skip private apps recreation if already exist
|
|
2581
2590
|
--skip-existing Skips the module exists warning messages.
|
|
2582
2591
|
|
|
2583
2592
|
DESCRIPTION
|
|
@@ -2947,6 +2956,44 @@ EXAMPLES
|
|
|
2947
2956
|
|
|
2948
2957
|
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/base-branch.ts)_
|
|
2949
2958
|
|
|
2959
|
+
## `csdx config:get:ea-header`
|
|
2960
|
+
|
|
2961
|
+
Display Early Access Program headers
|
|
2962
|
+
|
|
2963
|
+
```
|
|
2964
|
+
USAGE
|
|
2965
|
+
$ csdx config:get:ea-header
|
|
2966
|
+
|
|
2967
|
+
DESCRIPTION
|
|
2968
|
+
Display Early Access Program headers
|
|
2969
|
+
|
|
2970
|
+
ALIASES
|
|
2971
|
+
$ csdx config:get:ea-header
|
|
2972
|
+
|
|
2973
|
+
EXAMPLES
|
|
2974
|
+
$ csdx config:get:ea-header
|
|
2975
|
+
```
|
|
2976
|
+
|
|
2977
|
+
## `csdx config:get:early-access-header`
|
|
2978
|
+
|
|
2979
|
+
Display Early Access Program headers
|
|
2980
|
+
|
|
2981
|
+
```
|
|
2982
|
+
USAGE
|
|
2983
|
+
$ csdx config:get:early-access-header
|
|
2984
|
+
|
|
2985
|
+
DESCRIPTION
|
|
2986
|
+
Display Early Access Program headers
|
|
2987
|
+
|
|
2988
|
+
ALIASES
|
|
2989
|
+
$ csdx config:get:ea-header
|
|
2990
|
+
|
|
2991
|
+
EXAMPLES
|
|
2992
|
+
$ csdx config:get:early-access-header
|
|
2993
|
+
```
|
|
2994
|
+
|
|
2995
|
+
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/early-access-header.ts)_
|
|
2996
|
+
|
|
2950
2997
|
## `csdx config:get:region`
|
|
2951
2998
|
|
|
2952
2999
|
Get current region set for CLI
|
|
@@ -2987,6 +3034,56 @@ EXAMPLES
|
|
|
2987
3034
|
|
|
2988
3035
|
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/remove/base-branch.ts)_
|
|
2989
3036
|
|
|
3037
|
+
## `csdx config:remove:ea-header`
|
|
3038
|
+
|
|
3039
|
+
Remove Early Access Program header
|
|
3040
|
+
|
|
3041
|
+
```
|
|
3042
|
+
USAGE
|
|
3043
|
+
$ csdx config:remove:ea-header [--header-alias <value>] [-y]
|
|
3044
|
+
|
|
3045
|
+
FLAGS
|
|
3046
|
+
-y, --yes Force Remove
|
|
3047
|
+
--header-alias=<value> Early access header alias
|
|
3048
|
+
|
|
3049
|
+
DESCRIPTION
|
|
3050
|
+
Remove Early Access Program header
|
|
3051
|
+
|
|
3052
|
+
ALIASES
|
|
3053
|
+
$ csdx config:remove:ea-header
|
|
3054
|
+
|
|
3055
|
+
EXAMPLES
|
|
3056
|
+
$ csdx config:remove:ea-header
|
|
3057
|
+
|
|
3058
|
+
$ csdx config:remove:ea-header --header-alias <value>
|
|
3059
|
+
```
|
|
3060
|
+
|
|
3061
|
+
## `csdx config:remove:early-access-header`
|
|
3062
|
+
|
|
3063
|
+
Remove Early Access Program header
|
|
3064
|
+
|
|
3065
|
+
```
|
|
3066
|
+
USAGE
|
|
3067
|
+
$ csdx config:remove:early-access-header [--header-alias <value>] [-y]
|
|
3068
|
+
|
|
3069
|
+
FLAGS
|
|
3070
|
+
-y, --yes Force Remove
|
|
3071
|
+
--header-alias=<value> Early access header alias
|
|
3072
|
+
|
|
3073
|
+
DESCRIPTION
|
|
3074
|
+
Remove Early Access Program header
|
|
3075
|
+
|
|
3076
|
+
ALIASES
|
|
3077
|
+
$ csdx config:remove:ea-header
|
|
3078
|
+
|
|
3079
|
+
EXAMPLES
|
|
3080
|
+
$ csdx config:remove:early-access-header
|
|
3081
|
+
|
|
3082
|
+
$ csdx config:remove:early-access-header --header-alias <value>
|
|
3083
|
+
```
|
|
3084
|
+
|
|
3085
|
+
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/remove/early-access-header.ts)_
|
|
3086
|
+
|
|
2990
3087
|
## `csdx config:set:base-branch`
|
|
2991
3088
|
|
|
2992
3089
|
Set branch for CLI
|
|
@@ -3010,6 +3107,56 @@ EXAMPLES
|
|
|
3010
3107
|
|
|
3011
3108
|
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/base-branch.ts)_
|
|
3012
3109
|
|
|
3110
|
+
## `csdx config:set:ea-header`
|
|
3111
|
+
|
|
3112
|
+
Set Early Access Program header
|
|
3113
|
+
|
|
3114
|
+
```
|
|
3115
|
+
USAGE
|
|
3116
|
+
$ csdx config:set:ea-header [--header-alias <value>] [--header <value>]
|
|
3117
|
+
|
|
3118
|
+
FLAGS
|
|
3119
|
+
--header=<value> Early access header value
|
|
3120
|
+
--header-alias=<value> Early access header alias
|
|
3121
|
+
|
|
3122
|
+
DESCRIPTION
|
|
3123
|
+
Set Early Access Program header
|
|
3124
|
+
|
|
3125
|
+
ALIASES
|
|
3126
|
+
$ csdx config:set:ea-header
|
|
3127
|
+
|
|
3128
|
+
EXAMPLES
|
|
3129
|
+
$ csdx config:set:ea-header
|
|
3130
|
+
|
|
3131
|
+
$ csdx config:set:ea-header --header <value> --header-alias <value>
|
|
3132
|
+
```
|
|
3133
|
+
|
|
3134
|
+
## `csdx config:set:early-access-header`
|
|
3135
|
+
|
|
3136
|
+
Set Early Access Program header
|
|
3137
|
+
|
|
3138
|
+
```
|
|
3139
|
+
USAGE
|
|
3140
|
+
$ csdx config:set:early-access-header [--header-alias <value>] [--header <value>]
|
|
3141
|
+
|
|
3142
|
+
FLAGS
|
|
3143
|
+
--header=<value> Early access header value
|
|
3144
|
+
--header-alias=<value> Early access header alias
|
|
3145
|
+
|
|
3146
|
+
DESCRIPTION
|
|
3147
|
+
Set Early Access Program header
|
|
3148
|
+
|
|
3149
|
+
ALIASES
|
|
3150
|
+
$ csdx config:set:ea-header
|
|
3151
|
+
|
|
3152
|
+
EXAMPLES
|
|
3153
|
+
$ csdx config:set:early-access-header
|
|
3154
|
+
|
|
3155
|
+
$ csdx config:set:early-access-header --header <value> --header-alias <value>
|
|
3156
|
+
```
|
|
3157
|
+
|
|
3158
|
+
_See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/early-access-header.ts)_
|
|
3159
|
+
|
|
3013
3160
|
## `csdx config:set:region [REGION]`
|
|
3014
3161
|
|
|
3015
3162
|
Set region for CLI
|
|
@@ -3111,7 +3258,7 @@ EXAMPLES
|
|
|
3111
3258
|
$ 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>
|
|
3112
3259
|
```
|
|
3113
3260
|
|
|
3114
|
-
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/
|
|
3261
|
+
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/index.ts)_
|
|
3115
3262
|
|
|
3116
3263
|
## `csdx launch:deployments`
|
|
3117
3264
|
|
|
@@ -3141,7 +3288,7 @@ EXAMPLES
|
|
|
3141
3288
|
$ csdx launch:deployments -e "environment number or uid" --org=<org UID> --project=<Project UID>
|
|
3142
3289
|
```
|
|
3143
3290
|
|
|
3144
|
-
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/
|
|
3291
|
+
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/deployments.ts)_
|
|
3145
3292
|
|
|
3146
3293
|
## `csdx launch:environments`
|
|
3147
3294
|
|
|
@@ -3170,7 +3317,7 @@ EXAMPLES
|
|
|
3170
3317
|
$ csdx launch:environments --org=<org UID> --project=<Project UID>
|
|
3171
3318
|
```
|
|
3172
3319
|
|
|
3173
|
-
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/
|
|
3320
|
+
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/environments.ts)_
|
|
3174
3321
|
|
|
3175
3322
|
## `csdx launch:functions`
|
|
3176
3323
|
|
|
@@ -3202,7 +3349,7 @@ EXAMPLES
|
|
|
3202
3349
|
$ csdx launch:functions --config <path/to/launch/config/file> --port=port
|
|
3203
3350
|
```
|
|
3204
3351
|
|
|
3205
|
-
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/
|
|
3352
|
+
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/functions.ts)_
|
|
3206
3353
|
|
|
3207
3354
|
## `csdx launch:logs`
|
|
3208
3355
|
|
|
@@ -3251,7 +3398,7 @@ EXAMPLES
|
|
|
3251
3398
|
$ csdx launch:logs --environment=environment --config <path/to/launch/config/file> --deployment=deployment
|
|
3252
3399
|
```
|
|
3253
3400
|
|
|
3254
|
-
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/
|
|
3401
|
+
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/logs.ts)_
|
|
3255
3402
|
|
|
3256
3403
|
## `csdx launch:open`
|
|
3257
3404
|
|
|
@@ -3285,7 +3432,7 @@ EXAMPLES
|
|
|
3285
3432
|
$ csdx launch:open --environment=environment --data-dir <path/of/current/working/dir>
|
|
3286
3433
|
```
|
|
3287
3434
|
|
|
3288
|
-
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/
|
|
3435
|
+
_See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/open.ts)_
|
|
3289
3436
|
|
|
3290
3437
|
## `csdx login`
|
|
3291
3438
|
|
|
@@ -3364,7 +3511,7 @@ EXAMPLES
|
|
|
3364
3511
|
$ csdx plugins
|
|
3365
3512
|
```
|
|
3366
3513
|
|
|
3367
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3514
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/index.ts)_
|
|
3368
3515
|
|
|
3369
3516
|
## `csdx plugins:install PLUGIN...`
|
|
3370
3517
|
|
|
@@ -3380,7 +3527,11 @@ ARGUMENTS
|
|
|
3380
3527
|
FLAGS
|
|
3381
3528
|
-f, --force Run yarn install with force flag.
|
|
3382
3529
|
-h, --help Show CLI help.
|
|
3383
|
-
-
|
|
3530
|
+
-s, --silent Silences yarn output.
|
|
3531
|
+
-v, --verbose Show verbose yarn output.
|
|
3532
|
+
|
|
3533
|
+
GLOBAL FLAGS
|
|
3534
|
+
--json Format output as json.
|
|
3384
3535
|
|
|
3385
3536
|
DESCRIPTION
|
|
3386
3537
|
Installs a plugin into the CLI.
|
|
@@ -3397,11 +3548,11 @@ ALIASES
|
|
|
3397
3548
|
$ csdx plugins:add
|
|
3398
3549
|
|
|
3399
3550
|
EXAMPLES
|
|
3400
|
-
$ csdx plugins:
|
|
3551
|
+
$ csdx plugins:add myplugin
|
|
3401
3552
|
|
|
3402
|
-
$ csdx plugins:
|
|
3553
|
+
$ csdx plugins:add https://github.com/someuser/someplugin
|
|
3403
3554
|
|
|
3404
|
-
$ csdx plugins:
|
|
3555
|
+
$ csdx plugins:add someuser/someplugin
|
|
3405
3556
|
```
|
|
3406
3557
|
|
|
3407
3558
|
## `csdx plugins:inspect PLUGIN...`
|
|
@@ -3429,7 +3580,7 @@ EXAMPLES
|
|
|
3429
3580
|
$ csdx plugins:inspect myplugin
|
|
3430
3581
|
```
|
|
3431
3582
|
|
|
3432
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3583
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/inspect.ts)_
|
|
3433
3584
|
|
|
3434
3585
|
## `csdx plugins:install PLUGIN...`
|
|
3435
3586
|
|
|
@@ -3445,7 +3596,11 @@ ARGUMENTS
|
|
|
3445
3596
|
FLAGS
|
|
3446
3597
|
-f, --force Run yarn install with force flag.
|
|
3447
3598
|
-h, --help Show CLI help.
|
|
3448
|
-
-
|
|
3599
|
+
-s, --silent Silences yarn output.
|
|
3600
|
+
-v, --verbose Show verbose yarn output.
|
|
3601
|
+
|
|
3602
|
+
GLOBAL FLAGS
|
|
3603
|
+
--json Format output as json.
|
|
3449
3604
|
|
|
3450
3605
|
DESCRIPTION
|
|
3451
3606
|
Installs a plugin into the CLI.
|
|
@@ -3469,7 +3624,7 @@ EXAMPLES
|
|
|
3469
3624
|
$ csdx plugins:install someuser/someplugin
|
|
3470
3625
|
```
|
|
3471
3626
|
|
|
3472
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3627
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/install.ts)_
|
|
3473
3628
|
|
|
3474
3629
|
## `csdx plugins:link PLUGIN`
|
|
3475
3630
|
|
|
@@ -3483,8 +3638,9 @@ ARGUMENTS
|
|
|
3483
3638
|
PATH [default: .] path to plugin
|
|
3484
3639
|
|
|
3485
3640
|
FLAGS
|
|
3486
|
-
-h, --help
|
|
3641
|
+
-h, --help Show CLI help.
|
|
3487
3642
|
-v, --verbose
|
|
3643
|
+
--[no-]install Install dependencies after linking the plugin.
|
|
3488
3644
|
|
|
3489
3645
|
DESCRIPTION
|
|
3490
3646
|
Links a plugin into the CLI for development.
|
|
@@ -3498,7 +3654,7 @@ EXAMPLES
|
|
|
3498
3654
|
$ csdx plugins:link myplugin
|
|
3499
3655
|
```
|
|
3500
3656
|
|
|
3501
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3657
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/link.ts)_
|
|
3502
3658
|
|
|
3503
3659
|
## `csdx plugins:uninstall PLUGIN...`
|
|
3504
3660
|
|
|
@@ -3521,8 +3677,22 @@ DESCRIPTION
|
|
|
3521
3677
|
ALIASES
|
|
3522
3678
|
$ csdx plugins:unlink
|
|
3523
3679
|
$ csdx plugins:remove
|
|
3680
|
+
|
|
3681
|
+
EXAMPLES
|
|
3682
|
+
$ csdx plugins:remove myplugin
|
|
3683
|
+
```
|
|
3684
|
+
|
|
3685
|
+
## `csdx plugins:reset`
|
|
3686
|
+
|
|
3687
|
+
Remove all user-installed and linked plugins.
|
|
3688
|
+
|
|
3689
|
+
```
|
|
3690
|
+
USAGE
|
|
3691
|
+
$ csdx plugins:reset
|
|
3524
3692
|
```
|
|
3525
3693
|
|
|
3694
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/reset.ts)_
|
|
3695
|
+
|
|
3526
3696
|
## `csdx plugins:uninstall PLUGIN...`
|
|
3527
3697
|
|
|
3528
3698
|
Removes a plugin from the CLI.
|
|
@@ -3544,9 +3714,12 @@ DESCRIPTION
|
|
|
3544
3714
|
ALIASES
|
|
3545
3715
|
$ csdx plugins:unlink
|
|
3546
3716
|
$ csdx plugins:remove
|
|
3717
|
+
|
|
3718
|
+
EXAMPLES
|
|
3719
|
+
$ csdx plugins:uninstall myplugin
|
|
3547
3720
|
```
|
|
3548
3721
|
|
|
3549
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3722
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/uninstall.ts)_
|
|
3550
3723
|
|
|
3551
3724
|
## `csdx plugins:uninstall PLUGIN...`
|
|
3552
3725
|
|
|
@@ -3569,6 +3742,9 @@ DESCRIPTION
|
|
|
3569
3742
|
ALIASES
|
|
3570
3743
|
$ csdx plugins:unlink
|
|
3571
3744
|
$ csdx plugins:remove
|
|
3745
|
+
|
|
3746
|
+
EXAMPLES
|
|
3747
|
+
$ csdx plugins:unlink myplugin
|
|
3572
3748
|
```
|
|
3573
3749
|
|
|
3574
3750
|
## `csdx plugins:update`
|
|
@@ -3587,7 +3763,7 @@ DESCRIPTION
|
|
|
3587
3763
|
Update installed plugins.
|
|
3588
3764
|
```
|
|
3589
3765
|
|
|
3590
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3766
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.1.10/src/commands/plugins/update.ts)_
|
|
3591
3767
|
|
|
3592
3768
|
## `csdx tokens`
|
|
3593
3769
|
|
|
@@ -6,9 +6,9 @@ const cli_utilities_1 = require("@contentstack/cli-utilities");
|
|
|
6
6
|
*/
|
|
7
7
|
function default_1(_opts) {
|
|
8
8
|
const { context } = this.config;
|
|
9
|
-
// logger.init(context);
|
|
10
9
|
cli_utilities_1.messageHandler.init(context);
|
|
11
10
|
cli_utilities_1.cliux.init(context);
|
|
12
11
|
cli_utilities_1.managementSDKInitiator.init(context);
|
|
12
|
+
cli_utilities_1.marketplaceSDKInitiator.init(context);
|
|
13
13
|
}
|
|
14
14
|
exports.default = default_1;
|
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.12.0",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run"
|
|
@@ -22,27 +22,27 @@
|
|
|
22
22
|
"prepack": "pnpm compile && oclif manifest && oclif readme"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@contentstack/cli-audit": "~1.3.
|
|
25
|
+
"@contentstack/cli-audit": "~1.3.1",
|
|
26
26
|
"@contentstack/cli-auth": "~1.3.17",
|
|
27
|
-
"@contentstack/cli-cm-bootstrap": "~1.7.
|
|
28
|
-
"@contentstack/cli-cm-branches": "~1.0.
|
|
27
|
+
"@contentstack/cli-cm-bootstrap": "~1.7.1",
|
|
28
|
+
"@contentstack/cli-cm-branches": "~1.0.19",
|
|
29
29
|
"@contentstack/cli-cm-bulk-publish": "~1.3.15",
|
|
30
30
|
"@contentstack/cli-cm-clone": "~1.8.0",
|
|
31
31
|
"@contentstack/cli-cm-export": "~1.10.2",
|
|
32
|
-
"@contentstack/cli-cm-export-to-csv": "~1.6.
|
|
33
|
-
"@contentstack/cli-cm-import": "~1.12.
|
|
32
|
+
"@contentstack/cli-cm-export-to-csv": "~1.6.2",
|
|
33
|
+
"@contentstack/cli-cm-import": "~1.12.2",
|
|
34
34
|
"@contentstack/cli-cm-migrate-rte": "~1.4.15",
|
|
35
35
|
"@contentstack/cli-cm-seed": "~1.7.0",
|
|
36
36
|
"@contentstack/cli-command": "~1.2.16",
|
|
37
|
-
"@contentstack/cli-config": "~1.
|
|
37
|
+
"@contentstack/cli-config": "~1.5.0",
|
|
38
38
|
"@contentstack/cli-launch": "~1.0.15",
|
|
39
|
-
"@contentstack/cli-migration": "~1.4.
|
|
40
|
-
"@contentstack/cli-utilities": "~1.5.
|
|
41
|
-
"@contentstack/management": "~1.
|
|
39
|
+
"@contentstack/cli-migration": "~1.4.2",
|
|
40
|
+
"@contentstack/cli-utilities": "~1.5.9",
|
|
41
|
+
"@contentstack/management": "~1.13.0",
|
|
42
42
|
"@oclif/core": "^2.9.3",
|
|
43
43
|
"@oclif/plugin-help": "^5",
|
|
44
44
|
"@oclif/plugin-not-found": "^2.4.0",
|
|
45
|
-
"@oclif/plugin-plugins": "^
|
|
45
|
+
"@oclif/plugin-plugins": "^4.1.9",
|
|
46
46
|
"chalk": "^4.1.2",
|
|
47
47
|
"debug": "^4.1.1",
|
|
48
48
|
"figlet": "^1.5.2",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"chai": "^4.3.4",
|
|
65
65
|
"eslint": "^8.18.0",
|
|
66
66
|
"eslint-config-oclif": "^4.0.0",
|
|
67
|
-
"eslint-config-oclif-typescript": "^0.
|
|
67
|
+
"eslint-config-oclif-typescript": "^3.0.8",
|
|
68
68
|
"globby": "^10.0.2",
|
|
69
69
|
"mocha": "10.1.0",
|
|
70
70
|
"nock": "^13.1.0",
|
|
@@ -160,4 +160,4 @@
|
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
"repository": "https://github.com/contentstack/cli"
|
|
163
|
-
}
|
|
163
|
+
}
|