eitri-cli 1.38.0-beta.4 → 1.38.0-beta.5
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/eitri-cli-v2/eitri-cli-v2.darwin-arm64.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.darwin-x64.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.linux-x64-gnu.node +0 -0
- package/eitri-cli-v2/eitri-cli-v2.win32-x64-msvc.node +0 -0
- package/index.js +0 -13
- package/package.json +1 -1
- package/src/modules/app/AppCommand.js +15 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -221,19 +221,6 @@ const run = async () => {
|
|
|
221
221
|
return await globalEitriCLIV2.gpt();
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
program
|
|
225
|
-
.command("create-app <application-name>")
|
|
226
|
-
.description(
|
|
227
|
-
"Cria múltiplos Eitri-Apps para um Aplicativo"
|
|
228
|
-
)
|
|
229
|
-
.option("-v, --verbose", "Exibe mais logs")
|
|
230
|
-
.action(async (applicationName, cmdObj) => {
|
|
231
|
-
return await globalEitriCLIV2.app.create({
|
|
232
|
-
...cmdObj,
|
|
233
|
-
applicationName
|
|
234
|
-
});
|
|
235
|
-
});
|
|
236
|
-
|
|
237
224
|
program.addCommand(VegvisirCommand());
|
|
238
225
|
program.addCommand(AppCommand());
|
|
239
226
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
const commander = require("commander");
|
|
2
|
+
const eitriCLIV2 = require("../../../eitri-cli-v2/index.js");
|
|
3
|
+
|
|
2
4
|
module.exports = function AppCommand() {
|
|
3
5
|
const app = commander.command("app")
|
|
4
6
|
.description("Gerencia a execução de Eitri-Apps do Aplicativo declarado no app-config.yaml 'eitri app --help'")
|
|
5
7
|
|
|
6
|
-
const eitriCLIV2 = require("../../../eitri-cli-v2/index.js");
|
|
7
8
|
|
|
8
9
|
app
|
|
9
10
|
.command("start")
|
|
@@ -31,5 +32,18 @@ module.exports = function AppCommand() {
|
|
|
31
32
|
await eitriCLIV2.app.clean();
|
|
32
33
|
});
|
|
33
34
|
|
|
35
|
+
app
|
|
36
|
+
.command("create <application-name>")
|
|
37
|
+
.description(
|
|
38
|
+
"Cria múltiplos Eitri-Apps para um Aplicativo, baseado em um bundle selecionado."
|
|
39
|
+
)
|
|
40
|
+
.option("-v, --verbose", "Exibe mais logs")
|
|
41
|
+
.action(async (applicationName, cmdObj) => {
|
|
42
|
+
return await eitriCLIV2.app.create({
|
|
43
|
+
...cmdObj,
|
|
44
|
+
applicationName
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
|
|
34
48
|
return app;
|
|
35
49
|
};
|