@contentstack/cli-cm-clone 1.4.15 → 1.4.17

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
@@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-clone
16
16
  $ csdx COMMAND
17
17
  running command...
18
18
  $ csdx (--version)
19
- @contentstack/cli-cm-clone/1.4.15 linux-x64 node-v18.17.1
19
+ @contentstack/cli-cm-clone/1.4.17 darwin-x64 node-v20.7.0
20
20
  $ csdx --help [COMMAND]
21
21
  USAGE
22
22
  $ csdx COMMAND
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-clone",
3
3
  "description": "Contentstack stack clone plugin",
4
- "version": "1.4.15",
4
+ "version": "1.4.17",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
7
7
  "dependencies": {
8
- "@contentstack/cli-cm-export": "~1.8.0",
9
- "@contentstack/cli-cm-import": "~1.8.0",
10
- "@contentstack/cli-command": "~1.2.11",
11
- "@contentstack/cli-utilities": "~1.5.1",
8
+ "@contentstack/cli-cm-export": "~1.8.2",
9
+ "@contentstack/cli-cm-import": "~1.8.4",
10
+ "@contentstack/cli-command": "~1.2.12",
11
+ "@contentstack/cli-utilities": "~1.5.2",
12
12
  "@colors/colors": "^1.5.0",
13
13
  "async": "^3.2.4",
14
14
  "chalk": "^4.1.0",
@@ -70,4 +70,4 @@
70
70
  "cm:stack-clone": "O-CLN"
71
71
  }
72
72
  }
73
- }
73
+ }
@@ -1,107 +0,0 @@
1
- {
2
- "version": "1.4.15",
3
- "commands": {
4
- "cm:stacks:clone": {
5
- "id": "cm:stacks:clone",
6
- "description": "Clone data (structure/content or both) of a stack into another stack\nUse this plugin to automate the process of cloning a stack in few steps.\n",
7
- "strict": true,
8
- "usage": "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]",
9
- "pluginName": "@contentstack/cli-cm-clone",
10
- "pluginAlias": "@contentstack/cli-cm-clone",
11
- "pluginType": "core",
12
- "aliases": [
13
- "cm:stack-clone"
14
- ],
15
- "examples": [
16
- "csdx cm:stacks:clone",
17
- "csdx cm:stacks:clone --source-branch <source-branch-name> --target-branch <target-branch-name> --yes",
18
- "csdx cm:stacks:clone --source-stack-api-key <apiKey> --destination-stack-api-key <apiKey>",
19
- "csdx cm:stacks:clone --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias>",
20
- "csdx cm:stacks:clone --source-branch --target-branch --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias>",
21
- "csdx cm:stacks:clone --source-branch --target-branch --source-management-token-alias <management token alias> --destination-management-token-alias <management token alias> --type <value a or b>"
22
- ],
23
- "flags": {
24
- "source-branch": {
25
- "name": "source-branch",
26
- "type": "option",
27
- "description": "Branch of the source stack.",
28
- "required": false,
29
- "multiple": false
30
- },
31
- "target-branch": {
32
- "name": "target-branch",
33
- "type": "option",
34
- "description": "Branch of the target stack.",
35
- "required": false,
36
- "multiple": false
37
- },
38
- "source-management-token-alias": {
39
- "name": "source-management-token-alias",
40
- "type": "option",
41
- "description": "Source API key of the target stack token alias.",
42
- "required": false,
43
- "multiple": false
44
- },
45
- "destination-management-token-alias": {
46
- "name": "destination-management-token-alias",
47
- "type": "option",
48
- "description": "Source API key of the target stack token alias.",
49
- "required": false,
50
- "multiple": false
51
- },
52
- "stack-name": {
53
- "name": "stack-name",
54
- "type": "option",
55
- "char": "n",
56
- "description": "Name for the new stack to store the cloned content.",
57
- "required": false,
58
- "multiple": false
59
- },
60
- "type": {
61
- "name": "type",
62
- "type": "option",
63
- "description": "Type of data to clone\na) Structure (all modules except entries & assets)\nb) Structure with content (all modules including entries & assets)\n ",
64
- "required": false,
65
- "multiple": false,
66
- "options": [
67
- "a",
68
- "b"
69
- ]
70
- },
71
- "source-stack-api-key": {
72
- "name": "source-stack-api-key",
73
- "type": "option",
74
- "description": "Source stack API Key",
75
- "multiple": false
76
- },
77
- "destination-stack-api-key": {
78
- "name": "destination-stack-api-key",
79
- "type": "option",
80
- "description": "Destination stack API Key",
81
- "multiple": false
82
- },
83
- "import-webhook-status": {
84
- "name": "import-webhook-status",
85
- "type": "option",
86
- "description": "[Optional] Webhook state",
87
- "required": false,
88
- "multiple": false,
89
- "options": [
90
- "disable",
91
- "current"
92
- ],
93
- "default": "disable"
94
- },
95
- "yes": {
96
- "name": "yes",
97
- "type": "boolean",
98
- "char": "y",
99
- "description": "[Optional] Override marketplace prompts",
100
- "required": false,
101
- "allowNo": false
102
- }
103
- },
104
- "args": {}
105
- }
106
- }
107
- }