@contentstack/cli-cm-seed 1.9.0 → 1.10.1
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 +8 -8
- package/lib/commands/cm/stacks/seed.js +5 -5
- package/oclif.manifest.json +6 -6
- package/package.json +21 -23
package/README.md
CHANGED
|
@@ -24,12 +24,12 @@ USAGE
|
|
|
24
24
|
|
|
25
25
|
FLAGS
|
|
26
26
|
-a, --alias=<value> Alias of the management token
|
|
27
|
-
-k, --stack-api-key=<value> Provide stack
|
|
27
|
+
-k, --stack-api-key=<value> Provide stack API key to seed content to
|
|
28
28
|
-n, --stack-name=<value> Name of a new stack that needs to be created.
|
|
29
29
|
-o, --org=<value> Provide Organization UID to create a new stack
|
|
30
|
-
-r, --repo=<value> GitHub
|
|
31
|
-
-s, --stack=<value> Provide stack UID to seed content
|
|
32
|
-
-y, --yes=<value> [Optional] Skip stack confirmation
|
|
30
|
+
-r, --repo=<value> GitHub organization name or GitHub user name/repository name.
|
|
31
|
+
-s, --stack=<value> Provide the stack UID to seed content.
|
|
32
|
+
-y, --yes=<value> [Optional] Skip the stack confirmation.
|
|
33
33
|
|
|
34
34
|
DESCRIPTION
|
|
35
35
|
Create a stack from existing content types, entries, assets, etc
|
|
@@ -60,12 +60,12 @@ USAGE
|
|
|
60
60
|
|
|
61
61
|
FLAGS
|
|
62
62
|
-a, --alias=<value> Alias of the management token
|
|
63
|
-
-k, --stack-api-key=<value> Provide stack
|
|
63
|
+
-k, --stack-api-key=<value> Provide stack API key to seed content to
|
|
64
64
|
-n, --stack-name=<value> Name of a new stack that needs to be created.
|
|
65
65
|
-o, --org=<value> Provide Organization UID to create a new stack
|
|
66
|
-
-r, --repo=<value> GitHub
|
|
67
|
-
-s, --stack=<value> Provide stack UID to seed content
|
|
68
|
-
-y, --yes=<value> [Optional] Skip stack confirmation
|
|
66
|
+
-r, --repo=<value> GitHub organization name or GitHub user name/repository name.
|
|
67
|
+
-s, --stack=<value> Provide the stack UID to seed content.
|
|
68
|
+
-y, --yes=<value> [Optional] Skip the stack confirmation.
|
|
69
69
|
|
|
70
70
|
DESCRIPTION
|
|
71
71
|
Create a stack from existing content types, entries, assets, etc
|
|
@@ -61,7 +61,7 @@ SeedCommand.usage = 'cm:stacks:seed [--repo <value>] [--org <value>] [-k <value>
|
|
|
61
61
|
SeedCommand.flags = {
|
|
62
62
|
repo: cli_utilities_1.flags.string({
|
|
63
63
|
char: 'r',
|
|
64
|
-
description: 'GitHub
|
|
64
|
+
description: 'GitHub organization name or GitHub user name/repository name.',
|
|
65
65
|
multiple: false,
|
|
66
66
|
required: false,
|
|
67
67
|
parse: (0, cli_utilities_1.printFlagDeprecation)(['-r'], ['--repo']),
|
|
@@ -76,7 +76,7 @@ SeedCommand.flags = {
|
|
|
76
76
|
}),
|
|
77
77
|
'stack-api-key': cli_utilities_1.flags.string({
|
|
78
78
|
char: 'k',
|
|
79
|
-
description: 'Provide stack
|
|
79
|
+
description: 'Provide stack API key to seed content to',
|
|
80
80
|
multiple: false,
|
|
81
81
|
required: false,
|
|
82
82
|
exclusive: ['org'],
|
|
@@ -90,7 +90,7 @@ SeedCommand.flags = {
|
|
|
90
90
|
}),
|
|
91
91
|
'fetch-limit': cli_utilities_1.flags.string({
|
|
92
92
|
char: 'l',
|
|
93
|
-
description: 'Limit for number of
|
|
93
|
+
description: 'Limit for number of organizations or stacks to be fetched.',
|
|
94
94
|
multiple: false,
|
|
95
95
|
required: false,
|
|
96
96
|
hidden: true,
|
|
@@ -98,12 +98,12 @@ SeedCommand.flags = {
|
|
|
98
98
|
yes: cli_utilities_1.flags.string({
|
|
99
99
|
char: 'y',
|
|
100
100
|
required: false,
|
|
101
|
-
description: '[Optional] Skip stack confirmation',
|
|
101
|
+
description: '[Optional] Skip the stack confirmation.',
|
|
102
102
|
}),
|
|
103
103
|
//To be deprecated
|
|
104
104
|
stack: cli_utilities_1.flags.string({
|
|
105
105
|
char: 's',
|
|
106
|
-
description: 'Provide stack UID to seed content
|
|
106
|
+
description: 'Provide the stack UID to seed content.',
|
|
107
107
|
multiple: false,
|
|
108
108
|
required: false,
|
|
109
109
|
exclusive: ['org', 'name'],
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.10.1",
|
|
3
3
|
"commands": {
|
|
4
4
|
"cm:stacks:seed": {
|
|
5
5
|
"id": "cm:stacks:seed",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"name": "repo",
|
|
26
26
|
"type": "option",
|
|
27
27
|
"char": "r",
|
|
28
|
-
"description": "GitHub
|
|
28
|
+
"description": "GitHub organization name or GitHub user name/repository name.",
|
|
29
29
|
"required": false,
|
|
30
30
|
"multiple": false
|
|
31
31
|
},
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"name": "stack-api-key",
|
|
45
45
|
"type": "option",
|
|
46
46
|
"char": "k",
|
|
47
|
-
"description": "Provide stack
|
|
47
|
+
"description": "Provide stack API key to seed content to",
|
|
48
48
|
"required": false,
|
|
49
49
|
"multiple": false,
|
|
50
50
|
"exclusive": [
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"name": "fetch-limit",
|
|
67
67
|
"type": "option",
|
|
68
68
|
"char": "l",
|
|
69
|
-
"description": "Limit for number of
|
|
69
|
+
"description": "Limit for number of organizations or stacks to be fetched.",
|
|
70
70
|
"hidden": true,
|
|
71
71
|
"required": false,
|
|
72
72
|
"multiple": false
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"name": "yes",
|
|
76
76
|
"type": "option",
|
|
77
77
|
"char": "y",
|
|
78
|
-
"description": "[Optional] Skip stack confirmation",
|
|
78
|
+
"description": "[Optional] Skip the stack confirmation.",
|
|
79
79
|
"required": false,
|
|
80
80
|
"multiple": false
|
|
81
81
|
},
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"name": "stack",
|
|
84
84
|
"type": "option",
|
|
85
85
|
"char": "s",
|
|
86
|
-
"description": "Provide stack UID to seed content
|
|
86
|
+
"description": "Provide the stack UID to seed content.",
|
|
87
87
|
"required": false,
|
|
88
88
|
"multiple": false,
|
|
89
89
|
"exclusive": [
|
package/package.json
CHANGED
|
@@ -1,37 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-cm-seed",
|
|
3
3
|
"description": "create a Stack from existing content types, entries, assets, etc.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.10.1",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/contentstack/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@contentstack/cli-cm-import": "~1.
|
|
9
|
-
"@contentstack/cli-command": "~1.3.
|
|
10
|
-
"@contentstack/cli-utilities": "~1.
|
|
11
|
-
"
|
|
8
|
+
"@contentstack/cli-cm-import": "~1.19.4",
|
|
9
|
+
"@contentstack/cli-command": "~1.3.3",
|
|
10
|
+
"@contentstack/cli-utilities": "~1.8.1",
|
|
11
|
+
"@contentstack/management": "~1.18.4",
|
|
12
|
+
"inquirer": "8.2.6",
|
|
12
13
|
"mkdirp": "^1.0.4",
|
|
13
|
-
"tar": "^6.1
|
|
14
|
-
"tmp": "^0.2.
|
|
15
|
-
"tslib": "^2.4.1"
|
|
14
|
+
"tar": "^6.2.1",
|
|
15
|
+
"tmp": "^0.2.3"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@
|
|
19
|
-
"@types/
|
|
20
|
-
"@types/
|
|
21
|
-
"@types/
|
|
22
|
-
"@types/
|
|
23
|
-
"@types/
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"eslint": "^8.18.0",
|
|
18
|
+
"@types/inquirer": "^9.0.7",
|
|
19
|
+
"@types/jest": "^26.0.24",
|
|
20
|
+
"@types/mkdirp": "^1.0.2",
|
|
21
|
+
"@types/node": "^14.18.63",
|
|
22
|
+
"@types/tar": "^6.1.13",
|
|
23
|
+
"@types/tmp": "^0.2.6",
|
|
24
|
+
"axios": "^1.7.9",
|
|
25
|
+
"eslint": "^8.57.1",
|
|
27
26
|
"eslint-config-oclif": "^4.0.0",
|
|
28
|
-
"eslint-config-oclif-typescript": "^3.
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"ts-jest": "^29.0.5",
|
|
27
|
+
"eslint-config-oclif-typescript": "^3.1.13",
|
|
28
|
+
"jest": "^29.7.0",
|
|
29
|
+
"oclif": "^3.17.2",
|
|
30
|
+
"ts-jest": "^29.2.5",
|
|
33
31
|
"ts-node": "^8.10.2",
|
|
34
|
-
"typescript": "^4.9.
|
|
32
|
+
"typescript": "^4.9.5"
|
|
35
33
|
},
|
|
36
34
|
"engines": {
|
|
37
35
|
"node": ">=14.0.0"
|