eitri-cli 1.45.0 → 1.46.0-beta.2
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/eitri-cli-v2/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/modules/app/AppCommand.js +9 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/eitri-cli-v2/index.d.ts
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
/* auto-generated by NAPI-RS */
|
|
5
5
|
|
|
6
|
+
export interface AppCheckoutArguments {
|
|
7
|
+
verbose?: boolean
|
|
8
|
+
}
|
|
6
9
|
export interface AppCleanArguments {
|
|
7
10
|
verbose?: boolean
|
|
8
11
|
full?: boolean
|
|
@@ -69,6 +72,7 @@ export declare namespace app {
|
|
|
69
72
|
export function create(args: CreateAppArguments): Promise<void>
|
|
70
73
|
export function appLogs(): Promise<void>
|
|
71
74
|
export function clean(args: AppCleanArguments): Promise<void>
|
|
75
|
+
export function checkout(appName: string, args: AppCheckoutArguments): Promise<void>
|
|
72
76
|
}
|
|
73
77
|
export declare namespace workspace {
|
|
74
78
|
export function clean(): Promise<void>
|
package/package.json
CHANGED
|
@@ -46,5 +46,14 @@ module.exports = function AppCommand() {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
+
app
|
|
50
|
+
.command("checkout <application-name>")
|
|
51
|
+
.description("Faz o checkout do código fonte do Aplicativo para um novo Aplicativo e Branch, criando seus respectivos Eitri-Apps e arquivos de configuração")
|
|
52
|
+
.option("-v, --verbose", "Exibe mais logs")
|
|
53
|
+
.action(async (applicationName, cmdObj) => {
|
|
54
|
+
return await eitriCLIV2.app.checkout(applicationName, cmdObj);
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
|
|
49
58
|
return app;
|
|
50
59
|
};
|