@contentstack/cli 1.11.3 → 1.12.1

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Contentstack
3
+ Copyright (c) 2024 Contentstack
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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.1 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,8 @@ 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
2164
+ --skip-audit Skips the audit fix.
2157
2165
  --skip-existing Skips the module exists warning messages.
2158
2166
 
2159
2167
  DESCRIPTION
@@ -2177,7 +2185,7 @@ EXAMPLES
2177
2185
 
2178
2186
  $ csdx cm:stacks:import --alias <management_token_alias> --config <path/of/config/file>
2179
2187
 
2180
- $ csdx cm:stacks:import --branch <branch name> --yes
2188
+ $ csdx cm:stacks:import --branch <branch name> --yes --skip-audit
2181
2189
  ```
2182
2190
 
2183
2191
  ## `csdx cm:migrate-rte`
@@ -2330,6 +2338,7 @@ FLAGS
2330
2338
  --destination-stack-api-key=<value> Destination stack API Key
2331
2339
  --import-webhook-status=<option> [default: disable] [Optional] Webhook state
2332
2340
  <options: disable|current>
2341
+ --skip-audit Skips the audit fix.
2333
2342
  --source-branch=<value> Branch of the source stack.
2334
2343
  --source-management-token-alias=<value> Source API key of the target stack token alias.
2335
2344
  --source-stack-api-key=<value> Source stack API Key
@@ -2480,6 +2489,7 @@ FLAGS
2480
2489
  --destination-stack-api-key=<value> Destination stack API Key
2481
2490
  --import-webhook-status=<option> [default: disable] [Optional] Webhook state
2482
2491
  <options: disable|current>
2492
+ --skip-audit Skips the audit fix.
2483
2493
  --source-branch=<value> Branch of the source stack.
2484
2494
  --source-management-token-alias=<value> Source API key of the target stack token alias.
2485
2495
  --source-stack-api-key=<value> Source stack API Key
@@ -2579,6 +2589,8 @@ FLAGS
2579
2589
  --import-webhook-status=<option> [default: disable] [optional] Webhook state
2580
2590
  <options: disable|current>
2581
2591
  --replace-existing Replaces the existing module in the target stack.
2592
+ --skip-app-recreation [optional] Skip private apps recreation if already exist
2593
+ --skip-audit Skips the audit fix.
2582
2594
  --skip-existing Skips the module exists warning messages.
2583
2595
 
2584
2596
  DESCRIPTION
@@ -2602,7 +2614,7 @@ EXAMPLES
2602
2614
 
2603
2615
  $ csdx cm:stacks:import --alias <management_token_alias> --config <path/of/config/file>
2604
2616
 
2605
- $ csdx cm:stacks:import --branch <branch name> --yes
2617
+ $ csdx cm:stacks:import --branch <branch name> --yes --skip-audit
2606
2618
  ```
2607
2619
 
2608
2620
  _See code: [@contentstack/cli-cm-import](https://github.com/contentstack/cli/blob/main/packages/contentstack-import/src/commands/cm/stacks/import.ts)_
@@ -2948,6 +2960,44 @@ EXAMPLES
2948
2960
 
2949
2961
  _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/base-branch.ts)_
2950
2962
 
2963
+ ## `csdx config:get:ea-header`
2964
+
2965
+ Display Early Access headers
2966
+
2967
+ ```
2968
+ USAGE
2969
+ $ csdx config:get:ea-header
2970
+
2971
+ DESCRIPTION
2972
+ Display Early Access headers
2973
+
2974
+ ALIASES
2975
+ $ csdx config:get:ea-header
2976
+
2977
+ EXAMPLES
2978
+ $ csdx config:get:ea-header
2979
+ ```
2980
+
2981
+ ## `csdx config:get:early-access-header`
2982
+
2983
+ Display Early Access headers
2984
+
2985
+ ```
2986
+ USAGE
2987
+ $ csdx config:get:early-access-header
2988
+
2989
+ DESCRIPTION
2990
+ Display Early Access headers
2991
+
2992
+ ALIASES
2993
+ $ csdx config:get:ea-header
2994
+
2995
+ EXAMPLES
2996
+ $ csdx config:get:early-access-header
2997
+ ```
2998
+
2999
+ _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/get/early-access-header.ts)_
3000
+
2951
3001
  ## `csdx config:get:region`
2952
3002
 
2953
3003
  Get current region set for CLI
@@ -2988,6 +3038,56 @@ EXAMPLES
2988
3038
 
2989
3039
  _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/remove/base-branch.ts)_
2990
3040
 
3041
+ ## `csdx config:remove:ea-header`
3042
+
3043
+ Remove Early Access header
3044
+
3045
+ ```
3046
+ USAGE
3047
+ $ csdx config:remove:ea-header [--header-alias <value>] [-y]
3048
+
3049
+ FLAGS
3050
+ -y, --yes Force Remove
3051
+ --header-alias=<value> Early access header alias
3052
+
3053
+ DESCRIPTION
3054
+ Remove Early Access header
3055
+
3056
+ ALIASES
3057
+ $ csdx config:remove:ea-header
3058
+
3059
+ EXAMPLES
3060
+ $ csdx config:remove:ea-header
3061
+
3062
+ $ csdx config:remove:ea-header --header-alias <value>
3063
+ ```
3064
+
3065
+ ## `csdx config:remove:early-access-header`
3066
+
3067
+ Remove Early Access header
3068
+
3069
+ ```
3070
+ USAGE
3071
+ $ csdx config:remove:early-access-header [--header-alias <value>] [-y]
3072
+
3073
+ FLAGS
3074
+ -y, --yes Force Remove
3075
+ --header-alias=<value> Early access header alias
3076
+
3077
+ DESCRIPTION
3078
+ Remove Early Access header
3079
+
3080
+ ALIASES
3081
+ $ csdx config:remove:ea-header
3082
+
3083
+ EXAMPLES
3084
+ $ csdx config:remove:early-access-header
3085
+
3086
+ $ csdx config:remove:early-access-header --header-alias <value>
3087
+ ```
3088
+
3089
+ _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/remove/early-access-header.ts)_
3090
+
2991
3091
  ## `csdx config:set:base-branch`
2992
3092
 
2993
3093
  Set branch for CLI
@@ -3011,6 +3111,56 @@ EXAMPLES
3011
3111
 
3012
3112
  _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/base-branch.ts)_
3013
3113
 
3114
+ ## `csdx config:set:ea-header`
3115
+
3116
+ Set Early Access header
3117
+
3118
+ ```
3119
+ USAGE
3120
+ $ csdx config:set:ea-header [--header-alias <value>] [--header <value>]
3121
+
3122
+ FLAGS
3123
+ --header=<value> Early access header value
3124
+ --header-alias=<value> Early access header alias
3125
+
3126
+ DESCRIPTION
3127
+ Set Early Access header
3128
+
3129
+ ALIASES
3130
+ $ csdx config:set:ea-header
3131
+
3132
+ EXAMPLES
3133
+ $ csdx config:set:ea-header
3134
+
3135
+ $ csdx config:set:ea-header --header <value> --header-alias <value>
3136
+ ```
3137
+
3138
+ ## `csdx config:set:early-access-header`
3139
+
3140
+ Set Early Access header
3141
+
3142
+ ```
3143
+ USAGE
3144
+ $ csdx config:set:early-access-header [--header-alias <value>] [--header <value>]
3145
+
3146
+ FLAGS
3147
+ --header=<value> Early access header value
3148
+ --header-alias=<value> Early access header alias
3149
+
3150
+ DESCRIPTION
3151
+ Set Early Access header
3152
+
3153
+ ALIASES
3154
+ $ csdx config:set:ea-header
3155
+
3156
+ EXAMPLES
3157
+ $ csdx config:set:early-access-header
3158
+
3159
+ $ csdx config:set:early-access-header --header <value> --header-alias <value>
3160
+ ```
3161
+
3162
+ _See code: [@contentstack/cli-config](https://github.com/contentstack/cli/blob/main/packages/contentstack-config/src/commands/config/set/early-access-header.ts)_
3163
+
3014
3164
  ## `csdx config:set:region [REGION]`
3015
3165
 
3016
3166
  Set region for CLI
@@ -3112,7 +3262,7 @@ EXAMPLES
3112
3262
  $ 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
3263
  ```
3114
3264
 
3115
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/index.ts)_
3265
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/index.ts)_
3116
3266
 
3117
3267
  ## `csdx launch:deployments`
3118
3268
 
@@ -3142,7 +3292,7 @@ EXAMPLES
3142
3292
  $ csdx launch:deployments -e "environment number or uid" --org=<org UID> --project=<Project UID>
3143
3293
  ```
3144
3294
 
3145
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/deployments.ts)_
3295
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/deployments.ts)_
3146
3296
 
3147
3297
  ## `csdx launch:environments`
3148
3298
 
@@ -3171,7 +3321,7 @@ EXAMPLES
3171
3321
  $ csdx launch:environments --org=<org UID> --project=<Project UID>
3172
3322
  ```
3173
3323
 
3174
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/environments.ts)_
3324
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/environments.ts)_
3175
3325
 
3176
3326
  ## `csdx launch:functions`
3177
3327
 
@@ -3203,7 +3353,7 @@ EXAMPLES
3203
3353
  $ csdx launch:functions --config <path/to/launch/config/file> --port=port
3204
3354
  ```
3205
3355
 
3206
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/functions.ts)_
3356
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/functions.ts)_
3207
3357
 
3208
3358
  ## `csdx launch:logs`
3209
3359
 
@@ -3252,7 +3402,7 @@ EXAMPLES
3252
3402
  $ csdx launch:logs --environment=environment --config <path/to/launch/config/file> --deployment=deployment
3253
3403
  ```
3254
3404
 
3255
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/logs.ts)_
3405
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/logs.ts)_
3256
3406
 
3257
3407
  ## `csdx launch:open`
3258
3408
 
@@ -3286,7 +3436,7 @@ EXAMPLES
3286
3436
  $ csdx launch:open --environment=environment --data-dir <path/of/current/working/dir>
3287
3437
  ```
3288
3438
 
3289
- _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/dist/commands/launch/open.ts)_
3439
+ _See code: [@contentstack/cli-launch](https://github.com/contentstack/cli/blob/main/packages/contentstack-launch/src/commands/launch/open.ts)_
3290
3440
 
3291
3441
  ## `csdx login`
3292
3442
 
@@ -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.1",
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.1",
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.2",
26
26
  "@contentstack/cli-auth": "~1.3.17",
27
27
  "@contentstack/cli-cm-bootstrap": "~1.7.1",
28
- "@contentstack/cli-cm-branches": "~1.0.19",
29
- "@contentstack/cli-cm-bulk-publish": "~1.3.15",
30
- "@contentstack/cli-cm-clone": "~1.8.0",
28
+ "@contentstack/cli-cm-branches": "~1.0.20",
29
+ "@contentstack/cli-cm-bulk-publish": "~1.4.0",
30
+ "@contentstack/cli-cm-clone": "~1.9.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.13.0",
34
34
  "@contentstack/cli-cm-migrate-rte": "~1.4.15",
35
- "@contentstack/cli-cm-seed": "~1.7.0",
36
- "@contentstack/cli-command": "~1.2.16",
37
- "@contentstack/cli-config": "~1.4.15",
35
+ "@contentstack/cli-cm-seed": "~1.7.1",
36
+ "@contentstack/cli-command": "~1.2.17",
37
+ "@contentstack/cli-config": "~1.5.1",
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.10",
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",
@@ -160,4 +160,4 @@
160
160
  }
161
161
  },
162
162
  "repository": "https://github.com/contentstack/cli"
163
- }
163
+ }