@contentstack/cli-config 1.6.2 → 1.6.4

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-config
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version)
21
- @contentstack/cli-config/1.6.2 linux-x64 node-v18.19.0
21
+ @contentstack/cli-config/1.6.4 linux-x64 node-v18.20.2
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -0,0 +1,19 @@
1
+ {
2
+ "CLI_CONFIG_SET_REGION_DESCRIPTION": "Set region for CLI",
3
+ "CLI_CONFIG_SET_REGION_FLAG_D_DESCRIPTION": "Custom host to set for content delivery API, if this flag is added then cma and name flags are required",
4
+ "CLI_CONFIG_SET_REGION_FLAG_M_DESCRIPTION": "Custom host to set for content management API, , if this flag is added then cda and name flags are required",
5
+ "CLI_CONFIG_SET_REGION_FLAG_N_DESCRIPTION": "Name for the region, if this flag is added then cda and cma flags are required",
6
+ "CLI_CONFIG_SET_REGION_DEFAULT": "No argument or custom flag provided. Setting region to default NA",
7
+ "CLI_CONFIG_GET_REGION_DESCRIPTION": "Get current region set for CLI",
8
+ "CLI_CONFIG_GET_REGION_NOT_FOUND": "No region found, please set by running command $ csdx config:set:region",
9
+ "CLI_CONFIG_INQUIRE_REGION_NAME": "Enter custom region name",
10
+ "CLI_CONFIG_INQUIRE_REGION_CMA": "Enter content management url",
11
+ "CLI_CONFIG_INQUIRE_REGION_CDA": "Enter content delivery url",
12
+ "CLI_CONFIG_SELECT_REGION": "Please select a region",
13
+ "CLI_CONFIG_INQUIRE_API_KEY": "Enter stack api key",
14
+ "CLI_CONFIG_INQUIRE_BASE_BRANCH": "Enter base branch",
15
+ "CLI_CONFIG_BRANCH_LIST_NO_BRANCHES": "No branches are added. Use config:set:base-branch command to add base branch.",
16
+ "CLI_CONFIG_INQUIRE_EARLY_ACCESS_HEADER_VALUE": "Please enter Early Access header value",
17
+ "CLI_CONFIG_INQUIRE_EARLY_ACCESS_HEADER_ALIAS": "Please enter Early Access header alias",
18
+ "CLI_BRANCH_REQUIRED_FIELD": "Please enter the required field details"
19
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.6.2",
2
+ "version": "1.6.4",
3
3
  "commands": {
4
4
  "config:get:base-branch": {
5
5
  "id": "config:get:base-branch",
@@ -9,6 +9,7 @@
9
9
  "pluginAlias": "@contentstack/cli-config",
10
10
  "pluginType": "core",
11
11
  "aliases": [],
12
+ "hiddenAliases": [],
12
13
  "examples": [
13
14
  "$ csdx config:get:base-branch"
14
15
  ],
@@ -25,6 +26,7 @@
25
26
  "aliases": [
26
27
  "config:get:ea-header"
27
28
  ],
29
+ "hiddenAliases": [],
28
30
  "examples": [
29
31
  "$ <%= config.bin %> <%= command.id %>"
30
32
  ],
@@ -39,6 +41,7 @@
39
41
  "pluginAlias": "@contentstack/cli-config",
40
42
  "pluginType": "core",
41
43
  "aliases": [],
44
+ "hiddenAliases": [],
42
45
  "examples": [
43
46
  "$ csdx config:get:region"
44
47
  ],
@@ -53,6 +56,7 @@
53
56
  "pluginAlias": "@contentstack/cli-config",
54
57
  "pluginType": "core",
55
58
  "aliases": [],
59
+ "hiddenAliases": [],
56
60
  "examples": [
57
61
  "$ csdx config:remove:base-branch",
58
62
  "$ csdx config:remove:base-branch --stack-api-key <value>"
@@ -85,6 +89,7 @@
85
89
  "aliases": [
86
90
  "config:remove:ea-header"
87
91
  ],
92
+ "hiddenAliases": [],
88
93
  "examples": [
89
94
  "$ <%= config.bin %> <%= command.id %>",
90
95
  "$ <%= config.bin %> <%= command.id %> --header-alias <value>"
@@ -114,6 +119,7 @@
114
119
  "pluginAlias": "@contentstack/cli-config",
115
120
  "pluginType": "core",
116
121
  "aliases": [],
122
+ "hiddenAliases": [],
117
123
  "examples": [
118
124
  "$ csdx config:set:base-branch",
119
125
  "$ csdx config:set:base-branch --stack-api-key <value> --base-branch <value>"
@@ -145,6 +151,7 @@
145
151
  "aliases": [
146
152
  "config:set:ea-header"
147
153
  ],
154
+ "hiddenAliases": [],
148
155
  "examples": [
149
156
  "$ <%= config.bin %> <%= command.id %>",
150
157
  "$ <%= config.bin %> <%= command.id %> --header <value> --header-alias <value>"
@@ -173,6 +180,7 @@
173
180
  "pluginAlias": "@contentstack/cli-config",
174
181
  "pluginType": "core",
175
182
  "aliases": [],
183
+ "hiddenAliases": [],
176
184
  "examples": [
177
185
  "$ csdx config:set:region",
178
186
  "$ csdx config:set:region NA",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli-config",
3
3
  "description": "Contentstack CLI plugin for configuration",
4
- "version": "1.6.2",
4
+ "version": "1.6.4",
5
5
  "author": "Contentstack",
6
6
  "scripts": {
7
7
  "build": "npm run clean && npm run compile",
@@ -21,8 +21,8 @@
21
21
  "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
22
22
  },
23
23
  "dependencies": {
24
- "@contentstack/cli-command": "~1.2.16",
25
- "@contentstack/cli-utilities": "~1.5.11",
24
+ "@contentstack/cli-command": "~1.2.18",
25
+ "@contentstack/cli-utilities": "~1.6.1",
26
26
  "chalk": "^4.0.0",
27
27
  "debug": "^4.1.1",
28
28
  "inquirer": "8.2.4",
@@ -48,7 +48,7 @@
48
48
  "oclif": "^3.8.1",
49
49
  "rimraf": "^2.7.1",
50
50
  "sinon": "^15.0.1",
51
- "tmp": "^0.2.1",
51
+ "tmp": "^0.2.2",
52
52
  "ts-node": "^10.9.1",
53
53
  "typescript": "^4.9.3"
54
54
  },
@@ -58,7 +58,8 @@
58
58
  "files": [
59
59
  "/lib",
60
60
  "/npm-shrinkwrap.json",
61
- "/oclif.manifest.json"
61
+ "/oclif.manifest.json",
62
+ "/messages"
62
63
  ],
63
64
  "homepage": "https://github.com/contentstack/cli",
64
65
  "keywords": [
@@ -84,4 +85,4 @@
84
85
  }
85
86
  },
86
87
  "repository": "contentstack/cli"
87
- }
88
+ }