@contentstack/cli-cm-clone 1.4.17 → 1.5.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 +11 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -3,25 +3,28 @@
|
|
|
3
3
|
It is Contentstack’s CLI plugin to clone a stack. Using this command, you can export a stack’s content/schema to a new or existing stack. Refer to the [Clone a Stack](https://www.contentstack.com/docs/developers/cli/clone-a-stack/) documentation to learn more.
|
|
4
4
|
|
|
5
5
|
<!-- toc -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
- [@contentstack/cli-cm-clone](#contentstackcli-cm-clone)
|
|
8
|
+
- [Usage](#usage)
|
|
9
|
+
- [Commands](#commands)
|
|
9
10
|
<!-- tocstop -->
|
|
10
11
|
|
|
11
12
|
# Usage
|
|
12
13
|
|
|
13
14
|
<!-- usage -->
|
|
15
|
+
|
|
14
16
|
```sh-session
|
|
15
17
|
$ npm install -g @contentstack/cli-cm-clone
|
|
16
18
|
$ csdx COMMAND
|
|
17
19
|
running command...
|
|
18
20
|
$ csdx (--version)
|
|
19
|
-
@contentstack/cli-cm-clone/1.
|
|
21
|
+
@contentstack/cli-cm-clone/1.5.0 darwin-arm64 node-v20.7.0
|
|
20
22
|
$ csdx --help [COMMAND]
|
|
21
23
|
USAGE
|
|
22
24
|
$ csdx COMMAND
|
|
23
25
|
...
|
|
24
26
|
```
|
|
27
|
+
|
|
25
28
|
<!-- usagestop -->
|
|
26
29
|
|
|
27
30
|
```sh-session
|
|
@@ -37,8 +40,9 @@ USAGE
|
|
|
37
40
|
# Commands
|
|
38
41
|
|
|
39
42
|
<!-- commands -->
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
|
|
44
|
+
- [`csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent)
|
|
45
|
+
- [`csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent-1)
|
|
42
46
|
|
|
43
47
|
## `csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]`
|
|
44
48
|
|
|
@@ -139,4 +143,5 @@ EXAMPLES
|
|
|
139
143
|
```
|
|
140
144
|
|
|
141
145
|
_See code: [src/commands/cm/stacks/clone.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-clone/src/commands/cm/stacks/clone.js)_
|
|
146
|
+
|
|
142
147
|
<!-- commandsstop -->
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-cm-clone",
|
|
3
3
|
"description": "Contentstack stack clone plugin",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@contentstack/cli-cm-export": "~1.
|
|
9
|
-
"@contentstack/cli-cm-import": "~1.
|
|
8
|
+
"@contentstack/cli-cm-export": "~1.9.0",
|
|
9
|
+
"@contentstack/cli-cm-import": "~1.9.0",
|
|
10
10
|
"@contentstack/cli-command": "~1.2.12",
|
|
11
11
|
"@contentstack/cli-utilities": "~1.5.2",
|
|
12
12
|
"@colors/colors": "^1.5.0",
|
|
@@ -70,4 +70,4 @@
|
|
|
70
70
|
"cm:stack-clone": "O-CLN"
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
}
|
|
73
|
+
}
|