@contentstack/cli 1.0.2 → 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 +10 -10
- package/oclif.manifest.json +1 -1
- package/package.json +6 -11
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @contentstack/cli
|
|
1
|
+
# @contentstack/cli
|
|
2
2
|
|
|
3
3
|
Use Contentstack Command-line Interface to command Contentstack for executing a set of operations from the terminal. To get started with CLI, refer to the [CLI’s documentation](https://www.contentstack.com/docs/developers/cli)
|
|
4
4
|
|
|
5
5
|
[](https://github.com/contentstack/cli/blob/main/LICENSE)
|
|
6
6
|
|
|
7
7
|
<!-- toc -->
|
|
8
|
-
* [@contentstack/cli
|
|
8
|
+
* [@contentstack/cli](#contentstackcli)
|
|
9
9
|
* [Usage](#usage)
|
|
10
10
|
* [Commands](#commands)
|
|
11
11
|
<!-- tocstop -->
|
|
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
|
|
|
18
18
|
$ csdx COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ csdx (-v|--version|version)
|
|
21
|
-
@contentstack/cli/1.0.
|
|
21
|
+
@contentstack/cli/1.0.4 darwin-arm64 node-v16.17.0
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -97,7 +97,7 @@ EXAMPLES
|
|
|
97
97
|
$ csdx auth:login --username <username> --password <password>
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
_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)_
|
|
101
101
|
|
|
102
102
|
## `csdx auth:logout`
|
|
103
103
|
|
|
@@ -124,7 +124,7 @@ EXAMPLES
|
|
|
124
124
|
$ csdx auth:logout --yes
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
-
_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)_
|
|
128
128
|
|
|
129
129
|
## `csdx auth:tokens`
|
|
130
130
|
|
|
@@ -156,7 +156,7 @@ EXAMPLES
|
|
|
156
156
|
$ csdx auth:tokens
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
-
_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)_
|
|
160
160
|
|
|
161
161
|
## `csdx auth:tokens:add [-a <value>] [--delivery] [--management] [-e <value>] [-k <value>] [-y] [--token <value>]`
|
|
162
162
|
|
|
@@ -202,7 +202,7 @@ EXAMPLES
|
|
|
202
202
|
$ csdx auth:tokens:add --alias <alias> --stack-api-key <stack api key> --delivery -e <environment> --token <delivery token>
|
|
203
203
|
```
|
|
204
204
|
|
|
205
|
-
_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)_
|
|
206
206
|
|
|
207
207
|
## `csdx auth:tokens:remove`
|
|
208
208
|
|
|
@@ -225,7 +225,7 @@ EXAMPLES
|
|
|
225
225
|
$ csdx auth:tokens:remove -a <alias>
|
|
226
226
|
```
|
|
227
227
|
|
|
228
|
-
_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)_
|
|
229
229
|
|
|
230
230
|
## `csdx auth:whoami`
|
|
231
231
|
|
|
@@ -245,7 +245,7 @@ EXAMPLES
|
|
|
245
245
|
$ csdx auth:whoami
|
|
246
246
|
```
|
|
247
247
|
|
|
248
|
-
_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)_
|
|
249
249
|
|
|
250
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>]`
|
|
251
251
|
|
|
@@ -1169,7 +1169,7 @@ EXAMPLES
|
|
|
1169
1169
|
$ csdx cm:stacks:import --branch <branch name>
|
|
1170
1170
|
```
|
|
1171
1171
|
|
|
1172
|
-
_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)_
|
|
1173
1173
|
|
|
1174
1174
|
## `csdx cm:stacks:migration [-k <value>] [-a <value>] [--file-path <value>] [--branch <value>] [--config-file <value>] [--config <value>] [--multiple]`
|
|
1175
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"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"compile": "tsc -b tsconfig.json",
|
|
14
14
|
"postpack": "rm -f oclif.manifest.json",
|
|
15
15
|
"prepack": "npm run build && oclif-dev manifest && oclif-dev readme",
|
|
16
|
-
"version": "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
|
}
|