@contentstack/cli 1.0.3 → 1.0.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 +9 -8
- package/oclif.manifest.json +1 -1
- package/package.json +7 -12
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@ Use Contentstack Command-line Interface to command Contentstack for executing a
|
|
|
5
5
|
[](https://github.com/contentstack/cli/blob/main/LICENSE)
|
|
6
6
|
|
|
7
7
|
<!-- toc -->
|
|
8
|
+
* [@contentstack/cli](#contentstackcli)
|
|
8
9
|
* [Usage](#usage)
|
|
9
10
|
* [Commands](#commands)
|
|
10
11
|
<!-- tocstop -->
|
|
@@ -17,7 +18,7 @@ $ npm install -g @contentstack/cli
|
|
|
17
18
|
$ csdx COMMAND
|
|
18
19
|
running command...
|
|
19
20
|
$ csdx (-v|--version|version)
|
|
20
|
-
@contentstack/cli/1.0.
|
|
21
|
+
@contentstack/cli/1.0.4 darwin-arm64 node-v16.17.0
|
|
21
22
|
$ csdx --help [COMMAND]
|
|
22
23
|
USAGE
|
|
23
24
|
$ csdx COMMAND
|
|
@@ -96,7 +97,7 @@ EXAMPLES
|
|
|
96
97
|
$ csdx auth:login --username <username> --password <password>
|
|
97
98
|
```
|
|
98
99
|
|
|
99
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.
|
|
100
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.1/src/commands/auth/login.ts)_
|
|
100
101
|
|
|
101
102
|
## `csdx auth:logout`
|
|
102
103
|
|
|
@@ -123,7 +124,7 @@ EXAMPLES
|
|
|
123
124
|
$ csdx auth:logout --yes
|
|
124
125
|
```
|
|
125
126
|
|
|
126
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.
|
|
127
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.1/src/commands/auth/logout.ts)_
|
|
127
128
|
|
|
128
129
|
## `csdx auth:tokens`
|
|
129
130
|
|
|
@@ -155,7 +156,7 @@ EXAMPLES
|
|
|
155
156
|
$ csdx auth:tokens
|
|
156
157
|
```
|
|
157
158
|
|
|
158
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.
|
|
159
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.1/src/commands/auth/tokens/index.ts)_
|
|
159
160
|
|
|
160
161
|
## `csdx auth:tokens:add [-a <value>] [--delivery] [--management] [-e <value>] [-k <value>] [-y] [--token <value>]`
|
|
161
162
|
|
|
@@ -201,7 +202,7 @@ EXAMPLES
|
|
|
201
202
|
$ csdx auth:tokens:add --alias <alias> --stack-api-key <stack api key> --delivery -e <environment> --token <delivery token>
|
|
202
203
|
```
|
|
203
204
|
|
|
204
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.
|
|
205
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.1/src/commands/auth/tokens/add.ts)_
|
|
205
206
|
|
|
206
207
|
## `csdx auth:tokens:remove`
|
|
207
208
|
|
|
@@ -224,7 +225,7 @@ EXAMPLES
|
|
|
224
225
|
$ csdx auth:tokens:remove -a <alias>
|
|
225
226
|
```
|
|
226
227
|
|
|
227
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.
|
|
228
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.1/src/commands/auth/tokens/remove.ts)_
|
|
228
229
|
|
|
229
230
|
## `csdx auth:whoami`
|
|
230
231
|
|
|
@@ -244,7 +245,7 @@ EXAMPLES
|
|
|
244
245
|
$ csdx auth:whoami
|
|
245
246
|
```
|
|
246
247
|
|
|
247
|
-
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.
|
|
248
|
+
_See code: [@contentstack/cli-auth](https://github.com/contentstack/cli/blob/v1.0.1/src/commands/auth/whoami.ts)_
|
|
248
249
|
|
|
249
250
|
## `csdx cm:assets:publish [-a <value>] [--retry-failed <value>] [-e <value>] [--folder-uid <value>] [--bulk-publish <value>] [-c <value>] [-y] [--locales <value>] [--branch <value>] [--delivery-token <value>] [--source-env <value>] [--content-types <value>]`
|
|
250
251
|
|
|
@@ -1168,7 +1169,7 @@ EXAMPLES
|
|
|
1168
1169
|
$ csdx cm:stacks:import --branch <branch name>
|
|
1169
1170
|
```
|
|
1170
1171
|
|
|
1171
|
-
_See code: [@contentstack/cli-cm-import](https://github.com/contentstack/cli/blob/v1.0.
|
|
1172
|
+
_See code: [@contentstack/cli-cm-import](https://github.com/contentstack/cli/blob/v1.0.1/packages/contentstack-import/src/commands/cm/stacks/import.js)_
|
|
1172
1173
|
|
|
1173
1174
|
## `csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>] [--config-file <value>] [--config <value>] [--multiple]`
|
|
1174
1175
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.4","commands":{}}
|
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.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run"
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"clean": "rm -rf ./lib && rm -rf tsconfig.build.tsbuildinfo",
|
|
13
13
|
"compile": "tsc -b tsconfig.json",
|
|
14
14
|
"postpack": "rm -f oclif.manifest.json",
|
|
15
|
-
"prepack": "npm run build && oclif-dev manifest",
|
|
16
|
-
"version": "oclif-dev readme",
|
|
15
|
+
"prepack": "npm run build && oclif-dev manifest && oclif-dev readme",
|
|
16
|
+
"version": "oclif-dev readme && git add README.md",
|
|
17
17
|
"test:report": "tsc -p test && nyc --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
18
18
|
"pretest": "tsc -p test",
|
|
19
19
|
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"lint": "eslint src/**/*.ts"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@contentstack/cli-auth": "^1.0.
|
|
24
|
+
"@contentstack/cli-auth": "^1.0.1",
|
|
25
25
|
"@contentstack/cli-cm-bootstrap": "^1.1.0",
|
|
26
26
|
"@contentstack/cli-cm-bulk-publish": "^1.0.0",
|
|
27
27
|
"@contentstack/cli-cm-clone": "^1.0.0",
|
|
28
28
|
"@contentstack/cli-cm-export": "^1.0.0",
|
|
29
29
|
"@contentstack/cli-cm-export-to-csv": "^1.0.0",
|
|
30
|
-
"@contentstack/cli-cm-import": "^1.0.
|
|
30
|
+
"@contentstack/cli-cm-import": "^1.0.1",
|
|
31
31
|
"@contentstack/cli-cm-migrate-rte": "^1.1.0",
|
|
32
32
|
"@contentstack/cli-cm-seed": "^1.1.0",
|
|
33
33
|
"@contentstack/cli-command": "^1.0.0",
|
|
34
34
|
"@contentstack/cli-config": "^1.0.0",
|
|
35
35
|
"@contentstack/cli-migration": "^1.0.0",
|
|
36
|
-
"@contentstack/cli-utilities": "^1.0.
|
|
36
|
+
"@contentstack/cli-utilities": "^1.0.1",
|
|
37
37
|
"@contentstack/management": "^1.3.0",
|
|
38
38
|
"@oclif/command": "^1.8.16",
|
|
39
39
|
"@oclif/config": "^1.18.3",
|
|
@@ -145,10 +145,5 @@
|
|
|
145
145
|
]
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
|
-
"repository": "https://github.com/contentstack/cli"
|
|
149
|
-
"husky": {
|
|
150
|
-
"hooks": {
|
|
151
|
-
"pre-commit": "npm run lint"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
148
|
+
"repository": "https://github.com/contentstack/cli"
|
|
154
149
|
}
|