@orbitpanel/cli 1.2.0 → 1.3.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/dist/commands/init.d.ts +13 -0
- package/dist/commands/init.js +65 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/components/ShellApp.js +40 -5
- package/dist/components/ShellApp.js.map +1 -1
- package/dist/components/StatusBar.d.ts +3 -0
- package/dist/components/StatusBar.js +15 -2
- package/dist/components/StatusBar.js.map +1 -1
- package/dist/lib/command-router.js +61 -0
- package/dist/lib/command-router.js.map +1 -1
- package/dist/lib/context-health.d.ts +37 -0
- package/dist/lib/context-health.js +162 -0
- package/dist/lib/context-health.js.map +1 -0
- package/dist/lib/environment.d.ts +19 -0
- package/dist/lib/environment.js +75 -0
- package/dist/lib/environment.js.map +1 -0
- package/dist/lib/init-logic.d.ts +27 -0
- package/dist/lib/init-logic.js +34 -0
- package/dist/lib/init-logic.js.map +1 -0
- package/dist/lib/instructions.d.ts +18 -0
- package/dist/lib/instructions.js +37 -0
- package/dist/lib/instructions.js.map +1 -0
- package/dist/lib/manifest.d.ts +38 -0
- package/dist/lib/manifest.js +237 -0
- package/dist/lib/manifest.js.map +1 -0
- package/dist/lib/prompt-history.d.ts +30 -0
- package/dist/lib/prompt-history.js +75 -0
- package/dist/lib/prompt-history.js.map +1 -0
- package/dist/lib/shell-hints.d.ts +16 -0
- package/dist/lib/shell-hints.js +61 -3
- package/dist/lib/shell-hints.js.map +1 -1
- package/dist/lib/shell-ink.js +2 -1
- package/dist/lib/shell-ink.js.map +1 -1
- package/dist/lib/shell-render.js +1 -0
- package/dist/lib/shell-render.js.map +1 -1
- package/dist/lib/shell.js +6 -3
- package/dist/lib/shell.js.map +1 -1
- package/dist/lib/status-bar.d.ts +5 -0
- package/dist/lib/status-bar.js +24 -7
- package/dist/lib/status-bar.js.map +1 -1
- package/dist/state/store.js +46 -3
- package/dist/state/store.js.map +1 -1
- package/dist/state/types.d.ts +16 -2
- package/dist/types.d.ts +76 -0
- package/oclif.manifest.json +71 -1
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -23,6 +23,76 @@
|
|
|
23
23
|
"doctor.js"
|
|
24
24
|
]
|
|
25
25
|
},
|
|
26
|
+
"init": {
|
|
27
|
+
"aliases": [],
|
|
28
|
+
"args": {},
|
|
29
|
+
"description": "Crea .orbit/project.json per identificare il progetto.\nNON collega automaticamente a un sito Orbit — usa `orbit link` per quello.",
|
|
30
|
+
"examples": [
|
|
31
|
+
"<%= config.bin %> init --name my-project --platform wordpress --env local",
|
|
32
|
+
"<%= config.bin %> init --name staging-site --env staging"
|
|
33
|
+
],
|
|
34
|
+
"flags": {
|
|
35
|
+
"name": {
|
|
36
|
+
"char": "n",
|
|
37
|
+
"description": "Nome del progetto",
|
|
38
|
+
"name": "name",
|
|
39
|
+
"required": true,
|
|
40
|
+
"hasDynamicHelp": false,
|
|
41
|
+
"multiple": false,
|
|
42
|
+
"type": "option"
|
|
43
|
+
},
|
|
44
|
+
"platform": {
|
|
45
|
+
"char": "p",
|
|
46
|
+
"description": "Piattaforma (auto-detect se omesso)",
|
|
47
|
+
"name": "platform",
|
|
48
|
+
"hasDynamicHelp": false,
|
|
49
|
+
"multiple": false,
|
|
50
|
+
"options": [
|
|
51
|
+
"wordpress",
|
|
52
|
+
"prestashop",
|
|
53
|
+
"custom"
|
|
54
|
+
],
|
|
55
|
+
"type": "option"
|
|
56
|
+
},
|
|
57
|
+
"env": {
|
|
58
|
+
"char": "e",
|
|
59
|
+
"description": "Ambiente",
|
|
60
|
+
"name": "env",
|
|
61
|
+
"default": "local",
|
|
62
|
+
"hasDynamicHelp": false,
|
|
63
|
+
"multiple": false,
|
|
64
|
+
"options": [
|
|
65
|
+
"local",
|
|
66
|
+
"dev",
|
|
67
|
+
"staging",
|
|
68
|
+
"production"
|
|
69
|
+
],
|
|
70
|
+
"type": "option"
|
|
71
|
+
},
|
|
72
|
+
"force": {
|
|
73
|
+
"char": "f",
|
|
74
|
+
"description": "Sovrascrive un manifest esistente",
|
|
75
|
+
"name": "force",
|
|
76
|
+
"allowNo": false,
|
|
77
|
+
"type": "boolean"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"hasDynamicHelp": false,
|
|
81
|
+
"hiddenAliases": [],
|
|
82
|
+
"id": "init",
|
|
83
|
+
"pluginAlias": "@orbitpanel/cli",
|
|
84
|
+
"pluginName": "@orbitpanel/cli",
|
|
85
|
+
"pluginType": "core",
|
|
86
|
+
"strict": true,
|
|
87
|
+
"summary": "Inizializza un progetto Orbit nella directory corrente",
|
|
88
|
+
"enableJsonFlag": false,
|
|
89
|
+
"isESM": true,
|
|
90
|
+
"relativePath": [
|
|
91
|
+
"dist",
|
|
92
|
+
"commands",
|
|
93
|
+
"init.js"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
26
96
|
"link": {
|
|
27
97
|
"aliases": [],
|
|
28
98
|
"args": {},
|
|
@@ -749,5 +819,5 @@
|
|
|
749
819
|
]
|
|
750
820
|
}
|
|
751
821
|
},
|
|
752
|
-
"version": "1.
|
|
822
|
+
"version": "1.3.0"
|
|
753
823
|
}
|