@contentstack/cli 1.11.3 → 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 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.3 linux-x64 node-v18.19.0
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)
@@ -2060,55 +2066,55 @@ EXAMPLES
2060
2066
 
2061
2067
 
2062
2068
 
2063
- Exporting entries to csv
2069
+ Exporting entries to CSV
2064
2070
 
2065
2071
  $ csdx cm:export-to-csv --action <entries> --locale <locale> --alias <management-token-alias> --content-type <content-type>
2066
2072
 
2067
2073
 
2068
2074
 
2069
- Exporting entries to csv with stack name provided and branch name provided
2075
+ Exporting entries to CSV with stack name provided and branch name provided
2070
2076
 
2071
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>
2072
2078
 
2073
2079
 
2074
2080
 
2075
- Exporting organization users to csv
2081
+ Exporting organization users to CSV
2076
2082
 
2077
2083
  $ csdx cm:export-to-csv --action <users> --org <org-uid>
2078
2084
 
2079
2085
 
2080
2086
 
2081
- Exporting organization users to csv with organization name provided
2087
+ Exporting organization users to CSV with organization name provided
2082
2088
 
2083
2089
  $ csdx cm:export-to-csv --action <users> --org <org-uid> --org-name <org-name>
2084
2090
 
2085
2091
 
2086
2092
 
2087
- Exporting Organizations Teams to CSV
2093
+ Exporting organization teams to CSV
2088
2094
 
2089
2095
  $ csdx cm:export-to-csv --action <teams>
2090
2096
 
2091
2097
 
2092
2098
 
2093
- Exporting Organizations Teams to CSV with org-uid
2099
+ Exporting organization teams to CSV with org UID
2094
2100
 
2095
2101
  $ csdx cm:export-to-csv --action <teams> --org <org-uid>
2096
2102
 
2097
2103
 
2098
2104
 
2099
- Exporting Organizations Teams to CSV with team uid
2105
+ Exporting organization teams to CSV with team UID
2100
2106
 
2101
2107
  $ csdx cm:export-to-csv --action <teams> --team-uid <team-uid>
2102
2108
 
2103
2109
 
2104
2110
 
2105
- Exporting Organizations Teams to CSV with org-uid and team uid
2111
+ Exporting organization teams to CSV with org UID and team UID
2106
2112
 
2107
2113
  $ csdx cm:export-to-csv --action <teams> --org <org-uid> --team-uid <team-uid>
2108
2114
 
2109
2115
 
2110
2116
 
2111
- Exporting Organizations Teams to CSV with org-uid and team uid
2117
+ Exporting organization teams to CSV with org UID and team UID
2112
2118
 
2113
2119
  $ csdx cm:export-to-csv --action <teams> --org <org-uid> --team-uid <team-uid> --org-name <org-name>
2114
2120
 
@@ -2154,6 +2160,7 @@ FLAGS
2154
2160
  --import-webhook-status=<option> [default: disable] [optional] Webhook state
2155
2161
  <options: disable|current>
2156
2162
  --replace-existing Replaces the existing module in the target stack.
2163
+ --skip-app-recreation [optional] Skip private apps recreation if already exist
2157
2164
  --skip-existing Skips the module exists warning messages.
2158
2165
 
2159
2166
  DESCRIPTION
@@ -2579,6 +2586,7 @@ FLAGS
2579
2586
  --import-webhook-status=<option> [default: disable] [optional] Webhook state
2580
2587
  <options: disable|current>
2581
2588
  --replace-existing Replaces the existing module in the target stack.
2589
+ --skip-app-recreation [optional] Skip private apps recreation if already exist
2582
2590
  --skip-existing Skips the module exists warning messages.
2583
2591
 
2584
2592
  DESCRIPTION
@@ -2948,6 +2956,44 @@ EXAMPLES
2948
2956
 
2949
2957
  _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/base-branch.ts)_
2950
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
+
2951
2997
  ## `csdx config:get:region`
2952
2998
 
2953
2999
  Get current region set for CLI
@@ -2988,6 +3034,56 @@ EXAMPLES
2988
3034
 
2989
3035
  _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/remove/base-branch.ts)_
2990
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
+
2991
3087
  ## `csdx config:set:base-branch`
2992
3088
 
2993
3089
  Set branch for CLI
@@ -3011,6 +3107,56 @@ EXAMPLES
3011
3107
 
3012
3108
  _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/base-branch.ts)_
3013
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
+
3014
3160
  ## `csdx config:set:region [REGION]`
3015
3161
 
3016
3162
  Set region for CLI
@@ -3112,7 +3258,7 @@ EXAMPLES
3112
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>
3113
3259
  ```
3114
3260
 
3115
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/index.ts)_
3261
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/index.ts)_
3116
3262
 
3117
3263
  ## `csdx launch:deployments`
3118
3264
 
@@ -3142,7 +3288,7 @@ EXAMPLES
3142
3288
  $ csdx launch:deployments -e "environment number or uid" --org=<org UID> --project=<Project UID>
3143
3289
  ```
3144
3290
 
3145
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/deployments.ts)_
3291
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/deployments.ts)_
3146
3292
 
3147
3293
  ## `csdx launch:environments`
3148
3294
 
@@ -3171,7 +3317,7 @@ EXAMPLES
3171
3317
  $ csdx launch:environments --org=<org UID> --project=<Project UID>
3172
3318
  ```
3173
3319
 
3174
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/environments.ts)_
3320
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/environments.ts)_
3175
3321
 
3176
3322
  ## `csdx launch:functions`
3177
3323
 
@@ -3203,7 +3349,7 @@ EXAMPLES
3203
3349
  $ csdx launch:functions --config <path/to/launch/config/file> --port=port
3204
3350
  ```
3205
3351
 
3206
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/functions.ts)_
3352
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/functions.ts)_
3207
3353
 
3208
3354
  ## `csdx launch:logs`
3209
3355
 
@@ -3252,7 +3398,7 @@ EXAMPLES
3252
3398
  $ csdx launch:logs --environment=environment --config <path/to/launch/config/file> --deployment=deployment
3253
3399
  ```
3254
3400
 
3255
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/logs.ts)_
3401
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/logs.ts)_
3256
3402
 
3257
3403
  ## `csdx launch:open`
3258
3404
 
@@ -3286,7 +3432,7 @@ EXAMPLES
3286
3432
  $ csdx launch:open --environment=environment --data-dir <path/of/current/working/dir>
3287
3433
  ```
3288
3434
 
3289
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/open.ts)_
3435
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/open.ts)_
3290
3436
 
3291
3437
  ## `csdx login`
3292
3438
 
@@ -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;
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "1.11.3",
2
+ "version": "1.12.0",
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.3",
4
+ "version": "1.12.0",
5
5
  "author": "Contentstack",
6
6
  "bin": {
7
7
  "csdx": "./bin/run"
@@ -22,23 +22,23 @@
22
22
  "prepack": "pnpm compile && oclif manifest && oclif readme"
23
23
  },
24
24
  "dependencies": {
25
- "@contentstack/cli-audit": "~1.3.0",
25
+ "@contentstack/cli-audit": "~1.3.1",
26
26
  "@contentstack/cli-auth": "~1.3.17",
27
27
  "@contentstack/cli-cm-bootstrap": "~1.7.1",
28
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.1",
33
- "@contentstack/cli-cm-import": "~1.12.1",
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.4.15",
37
+ "@contentstack/cli-config": "~1.5.0",
38
38
  "@contentstack/cli-launch": "~1.0.15",
39
- "@contentstack/cli-migration": "~1.4.1",
40
- "@contentstack/cli-utilities": "~1.5.8",
41
- "@contentstack/management": "~1.12.0",
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",
@@ -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.1.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",