@springmicro/cli 0.4.0 → 0.4.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 +5 -5
- package/oclif.manifest.json +56 -56
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ $ npm install -g @springmicro/cli
|
|
|
21
21
|
$ springmicro COMMAND
|
|
22
22
|
running command...
|
|
23
23
|
$ springmicro (--version)
|
|
24
|
-
@springmicro/cli/0.4.
|
|
24
|
+
@springmicro/cli/0.4.1 linux-x64 node-v22.11.0
|
|
25
25
|
$ springmicro --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ springmicro COMMAND
|
|
@@ -63,7 +63,7 @@ EXAMPLES
|
|
|
63
63
|
$ springmicro add auth
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
_See code: [src/commands/add/auth.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.4.
|
|
66
|
+
_See code: [src/commands/add/auth.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.4.1/src/commands/add/auth.ts)_
|
|
67
67
|
|
|
68
68
|
## `springmicro add form`
|
|
69
69
|
|
|
@@ -83,7 +83,7 @@ EXAMPLES
|
|
|
83
83
|
$ springmicro add form
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
_See code: [src/commands/add/form.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.4.
|
|
86
|
+
_See code: [src/commands/add/form.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.4.1/src/commands/add/form.ts)_
|
|
87
87
|
|
|
88
88
|
## `springmicro help [COMMAND]`
|
|
89
89
|
|
|
@@ -126,7 +126,7 @@ EXAMPLES
|
|
|
126
126
|
$ springmicro init astro -n example
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
_See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.4.
|
|
129
|
+
_See code: [src/commands/init/index.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.4.1/src/commands/init/index.ts)_
|
|
130
130
|
|
|
131
131
|
## `springmicro init astro`
|
|
132
132
|
|
|
@@ -146,7 +146,7 @@ EXAMPLES
|
|
|
146
146
|
$ springmicro init astro -n <project-name>
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
-
_See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.4.
|
|
149
|
+
_See code: [src/commands/init/astro.ts](https://github.com/SpringMicro1/springmicrohost-js/blob/v0.4.1/src/commands/init/astro.ts)_
|
|
150
150
|
|
|
151
151
|
## `springmicro plugins`
|
|
152
152
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1,60 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"add:auth": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "describe the command here",
|
|
7
7
|
"examples": [
|
|
8
|
-
"<%= config.bin %> <%= command.id %>
|
|
8
|
+
"<%= config.bin %> <%= command.id %>"
|
|
9
9
|
],
|
|
10
|
-
"flags": {
|
|
11
|
-
"name": {
|
|
12
|
-
"char": "n",
|
|
13
|
-
"description": "Project name",
|
|
14
|
-
"name": "name",
|
|
15
|
-
"required": true,
|
|
16
|
-
"hasDynamicHelp": false,
|
|
17
|
-
"multiple": false,
|
|
18
|
-
"type": "option"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
10
|
+
"flags": {},
|
|
21
11
|
"hasDynamicHelp": false,
|
|
22
12
|
"hiddenAliases": [],
|
|
23
|
-
"id": "
|
|
13
|
+
"id": "add:auth",
|
|
24
14
|
"pluginAlias": "@springmicro/cli",
|
|
25
15
|
"pluginName": "@springmicro/cli",
|
|
26
16
|
"pluginType": "core",
|
|
27
17
|
"strict": true,
|
|
28
18
|
"enableJsonFlag": false,
|
|
29
|
-
"step": 1,
|
|
30
|
-
"totalSteps": 2,
|
|
31
19
|
"isESM": true,
|
|
32
20
|
"relativePath": [
|
|
33
21
|
"dist",
|
|
34
22
|
"commands",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
23
|
+
"add",
|
|
24
|
+
"auth.js"
|
|
37
25
|
]
|
|
38
26
|
},
|
|
39
|
-
"
|
|
27
|
+
"add:form": {
|
|
40
28
|
"aliases": [],
|
|
41
|
-
"args": {
|
|
42
|
-
|
|
43
|
-
"description": "Project type (astro)",
|
|
44
|
-
"name": "projectType",
|
|
45
|
-
"required": true
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"description": "Initialize a JavaScript framework project according to SpringMicroHost's specifications.",
|
|
29
|
+
"args": {},
|
|
30
|
+
"description": "add a form to your project",
|
|
49
31
|
"examples": [
|
|
50
|
-
"<%= config.bin %> <%= command.id %>
|
|
32
|
+
"<%= config.bin %> <%= command.id %>"
|
|
51
33
|
],
|
|
52
34
|
"flags": {
|
|
53
|
-
"
|
|
54
|
-
"char": "
|
|
55
|
-
"description": "
|
|
56
|
-
"name": "
|
|
57
|
-
"required": true,
|
|
35
|
+
"template": {
|
|
36
|
+
"char": "t",
|
|
37
|
+
"description": "form template (contact|quote)",
|
|
38
|
+
"name": "template",
|
|
58
39
|
"hasDynamicHelp": false,
|
|
59
40
|
"multiple": false,
|
|
60
41
|
"type": "option"
|
|
@@ -62,7 +43,7 @@
|
|
|
62
43
|
},
|
|
63
44
|
"hasDynamicHelp": false,
|
|
64
45
|
"hiddenAliases": [],
|
|
65
|
-
"id": "
|
|
46
|
+
"id": "add:form",
|
|
66
47
|
"pluginAlias": "@springmicro/cli",
|
|
67
48
|
"pluginName": "@springmicro/cli",
|
|
68
49
|
"pluginType": "core",
|
|
@@ -72,46 +53,65 @@
|
|
|
72
53
|
"relativePath": [
|
|
73
54
|
"dist",
|
|
74
55
|
"commands",
|
|
75
|
-
"
|
|
76
|
-
"
|
|
56
|
+
"add",
|
|
57
|
+
"form.js"
|
|
77
58
|
]
|
|
78
59
|
},
|
|
79
|
-
"
|
|
60
|
+
"init:astro": {
|
|
80
61
|
"aliases": [],
|
|
81
62
|
"args": {},
|
|
82
|
-
"description": "
|
|
63
|
+
"description": "Initialize a Astro project according to SpringMicroHost's specifications.",
|
|
83
64
|
"examples": [
|
|
84
|
-
"<%= config.bin %> <%= command.id %>"
|
|
65
|
+
"<%= config.bin %> <%= command.id %> -n <project-name>"
|
|
85
66
|
],
|
|
86
|
-
"flags": {
|
|
67
|
+
"flags": {
|
|
68
|
+
"name": {
|
|
69
|
+
"char": "n",
|
|
70
|
+
"description": "Project name",
|
|
71
|
+
"name": "name",
|
|
72
|
+
"required": true,
|
|
73
|
+
"hasDynamicHelp": false,
|
|
74
|
+
"multiple": false,
|
|
75
|
+
"type": "option"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
87
78
|
"hasDynamicHelp": false,
|
|
88
79
|
"hiddenAliases": [],
|
|
89
|
-
"id": "
|
|
80
|
+
"id": "init:astro",
|
|
90
81
|
"pluginAlias": "@springmicro/cli",
|
|
91
82
|
"pluginName": "@springmicro/cli",
|
|
92
83
|
"pluginType": "core",
|
|
93
84
|
"strict": true,
|
|
94
85
|
"enableJsonFlag": false,
|
|
86
|
+
"step": 1,
|
|
87
|
+
"totalSteps": 2,
|
|
95
88
|
"isESM": true,
|
|
96
89
|
"relativePath": [
|
|
97
90
|
"dist",
|
|
98
91
|
"commands",
|
|
99
|
-
"
|
|
100
|
-
"
|
|
92
|
+
"init",
|
|
93
|
+
"astro.js"
|
|
101
94
|
]
|
|
102
95
|
},
|
|
103
|
-
"
|
|
96
|
+
"init": {
|
|
104
97
|
"aliases": [],
|
|
105
|
-
"args": {
|
|
106
|
-
|
|
98
|
+
"args": {
|
|
99
|
+
"projectType": {
|
|
100
|
+
"description": "Project type (astro)",
|
|
101
|
+
"name": "projectType",
|
|
102
|
+
"required": true
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"description": "Initialize a JavaScript framework project according to SpringMicroHost's specifications.",
|
|
107
106
|
"examples": [
|
|
108
|
-
"<%= config.bin %> <%= command.id %>"
|
|
107
|
+
"<%= config.bin %> <%= command.id %> astro -n example"
|
|
109
108
|
],
|
|
110
109
|
"flags": {
|
|
111
|
-
"
|
|
112
|
-
"char": "
|
|
113
|
-
"description": "
|
|
114
|
-
"name": "
|
|
110
|
+
"name": {
|
|
111
|
+
"char": "n",
|
|
112
|
+
"description": "Project name",
|
|
113
|
+
"name": "name",
|
|
114
|
+
"required": true,
|
|
115
115
|
"hasDynamicHelp": false,
|
|
116
116
|
"multiple": false,
|
|
117
117
|
"type": "option"
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
},
|
|
120
120
|
"hasDynamicHelp": false,
|
|
121
121
|
"hiddenAliases": [],
|
|
122
|
-
"id": "
|
|
122
|
+
"id": "init",
|
|
123
123
|
"pluginAlias": "@springmicro/cli",
|
|
124
124
|
"pluginName": "@springmicro/cli",
|
|
125
125
|
"pluginType": "core",
|
|
@@ -129,10 +129,10 @@
|
|
|
129
129
|
"relativePath": [
|
|
130
130
|
"dist",
|
|
131
131
|
"commands",
|
|
132
|
-
"
|
|
133
|
-
"
|
|
132
|
+
"init",
|
|
133
|
+
"index.js"
|
|
134
134
|
]
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
|
-
"version": "0.4.
|
|
137
|
+
"version": "0.4.1"
|
|
138
138
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@springmicro/cli",
|
|
3
3
|
"description": "A new CLI generated with oclif",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"author": "David Buckley",
|
|
6
6
|
"private": false,
|
|
7
7
|
"publishConfig": {
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"version": "oclif readme && git add README.md"
|
|
77
77
|
},
|
|
78
78
|
"types": "dist/index.d.ts",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "53937ff954e78bc3053c107c26e1d4d0dc036ccd"
|
|
80
80
|
}
|