@contentstack/cli-cm-clone 1.13.2 → 1.14.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.
Files changed (2) hide show
  1. package/README.md +45 -43
  2. package/package.json +7 -7
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.13.2 darwin-x64 node-v22.14.0
19
+ @contentstack/cli-cm-clone/1.14.0 darwin-arm64 node-v22.14.0
20
20
  $ csdx --help [COMMAND]
21
21
  USAGE
22
22
  $ csdx COMMAND
@@ -38,7 +38,7 @@ USAGE
38
38
 
39
39
  <!-- commands -->
40
40
  * [`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)
41
- * [`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)
41
+ * [`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)
42
42
 
43
43
  ## `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
44
 
@@ -46,29 +46,30 @@ Clone data (structure/content or both) of a stack into another stack
46
46
 
47
47
  ```
48
48
  USAGE
49
- $ csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>]
50
- [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>]
51
- [--destination-stack-api-key <value>] [--import-webhook-status disable|current]
49
+ $ csdx cm:stack-clone cm:stacks:clone [--source-branch <value>] [--target-branch <value>]
50
+ [--source-management-token-alias <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b]
51
+ [--source-stack-api-key <value>] [--destination-stack-api-key <value>] [--import-webhook-status disable|current]
52
52
 
53
53
  FLAGS
54
- -c, --config=<value> Path for the external configuration
55
- -n, --stack-name=<value> Provide a name for the new stack to store the cloned content.
56
- -y, --yes Force override all Marketplace prompts.
57
- --destination-management-token-alias=<value> Destination management token alias.
58
- --destination-stack-api-key=<value> Destination stack API key
59
- --import-webhook-status=<option> [default: disable] [default: disable] (optional) The status of the
60
- import webhook. <options: disable|current>
61
- <options: disable|current>
62
- --skip-audit (optional) Skips the audit fix that occurs during an import operation.
63
- --source-branch=<value> Branch of the source stack.
64
- --source-management-token-alias=<value> Source management token alias.
65
- --source-stack-api-key=<value> Source stack API key
66
- --target-branch=<value> Branch of the target stack.
67
- --type=<option> Type of data to clone. You can select option a or b.
68
- a) Structure (all modules except entries & assets).
69
- b) Structure with content (all modules including entries & assets).
70
-
71
- <options: a|b>
54
+ -c, --config=<value> Path for the external configuration
55
+ -n, --stack-name=<value> Provide a name for the new stack to store the cloned content.
56
+ -y, --yes Force override all Marketplace prompts.
57
+ --destination-management-token-alias=<value> Destination management token alias.
58
+ --destination-stack-api-key=<value> Destination stack API key
59
+ --import-webhook-status=<option> [default: disable] [default: disable] (optional) The status of the
60
+ import webhook. <options: disable|current>
61
+ <options: disable|current>
62
+ --skip-audit (optional) Skips the audit fix that occurs during an import
63
+ operation.
64
+ --source-branch=<value> Branch of the source stack.
65
+ --source-management-token-alias=<value> Source management token alias.
66
+ --source-stack-api-key=<value> Source stack API key
67
+ --target-branch=<value> Branch of the target stack.
68
+ --type=<option> Type of data to clone. You can select option a or b.
69
+ a) Structure (all modules except entries & assets).
70
+ b) Structure with content (all modules including entries & assets).
71
+
72
+ <options: a|b>
72
73
 
73
74
  DESCRIPTION
74
75
  Clone data (structure/content or both) of a stack into another stack
@@ -98,29 +99,30 @@ Clone data (structure/content or both) of a stack into another stack
98
99
 
99
100
  ```
100
101
  USAGE
101
- $ csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias <value>]
102
- [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>]
102
+ $ csdx cm:stacks:clone [--source-branch <value>] [--target-branch <value>] [--source-management-token-alias
103
+ <value>] [--destination-management-token-alias <value>] [-n <value>] [--type a|b] [--source-stack-api-key <value>]
103
104
  [--destination-stack-api-key <value>] [--import-webhook-status disable|current]
104
105
 
105
106
  FLAGS
106
- -c, --config=<value> Path for the external configuration
107
- -n, --stack-name=<value> Provide a name for the new stack to store the cloned content.
108
- -y, --yes Force override all Marketplace prompts.
109
- --destination-management-token-alias=<value> Destination management token alias.
110
- --destination-stack-api-key=<value> Destination stack API key
111
- --import-webhook-status=<option> [default: disable] [default: disable] (optional) The status of the
112
- import webhook. <options: disable|current>
113
- <options: disable|current>
114
- --skip-audit (optional) Skips the audit fix that occurs during an import operation.
115
- --source-branch=<value> Branch of the source stack.
116
- --source-management-token-alias=<value> Source management token alias.
117
- --source-stack-api-key=<value> Source stack API key
118
- --target-branch=<value> Branch of the target stack.
119
- --type=<option> Type of data to clone. You can select option a or b.
120
- a) Structure (all modules except entries & assets).
121
- b) Structure with content (all modules including entries & assets).
122
-
123
- <options: a|b>
107
+ -c, --config=<value> Path for the external configuration
108
+ -n, --stack-name=<value> Provide a name for the new stack to store the cloned content.
109
+ -y, --yes Force override all Marketplace prompts.
110
+ --destination-management-token-alias=<value> Destination management token alias.
111
+ --destination-stack-api-key=<value> Destination stack API key
112
+ --import-webhook-status=<option> [default: disable] [default: disable] (optional) The status of the
113
+ import webhook. <options: disable|current>
114
+ <options: disable|current>
115
+ --skip-audit (optional) Skips the audit fix that occurs during an import
116
+ operation.
117
+ --source-branch=<value> Branch of the source stack.
118
+ --source-management-token-alias=<value> Source management token alias.
119
+ --source-stack-api-key=<value> Source stack API key
120
+ --target-branch=<value> Branch of the target stack.
121
+ --type=<option> Type of data to clone. You can select option a or b.
122
+ a) Structure (all modules except entries & assets).
123
+ b) Structure with content (all modules including entries & assets).
124
+
125
+ <options: a|b>
124
126
 
125
127
  DESCRIPTION
126
128
  Clone data (structure/content or both) of a stack into another stack
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@contentstack/cli-cm-clone",
3
3
  "description": "Contentstack stack clone plugin",
4
- "version": "1.13.2",
4
+ "version": "1.14.0",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/rohitmishra209/cli-cm-clone/issues",
7
7
  "dependencies": {
8
8
  "@colors/colors": "^1.6.0",
9
- "@contentstack/cli-cm-export": "~1.15.0",
10
- "@contentstack/cli-cm-import": "~1.20.0",
11
- "@contentstack/cli-command": "~1.3.3",
12
- "@contentstack/cli-utilities": "~1.8.4",
9
+ "@contentstack/cli-cm-export": "~1.16.0",
10
+ "@contentstack/cli-cm-import": "~1.21.0",
11
+ "@contentstack/cli-command": "~1.5.0",
12
+ "@contentstack/cli-utilities": "~1.11.0",
13
13
  "chalk": "^4.1.2",
14
14
  "inquirer": "8.2.6",
15
15
  "lodash": "^4.17.21",
@@ -23,10 +23,10 @@
23
23
  "@oclif/test": "^4.1.6",
24
24
  "chai": "^4.5.0",
25
25
  "eslint": "^8.57.1",
26
- "eslint-config-oclif": "^4.0.0",
26
+ "eslint-config-oclif": "^6.0.15",
27
27
  "mocha": "^10.8.2",
28
28
  "nyc": "^15.1.0",
29
- "oclif": "^3.17.2",
29
+ "oclif": "^4.17.30",
30
30
  "sinon": "^19.0.2"
31
31
  },
32
32
  "engines": {