eitri-cli 1.47.5-beta.1 → 1.48.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/.vscode/settings.json +1 -0
- 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 +5 -0
- package/package.json +1 -1
- package/src/modules/app/AppCommand.js +9 -0
package/.vscode/settings.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/eitri-cli-v2/index.d.ts
CHANGED
|
@@ -60,6 +60,10 @@ export interface SetupVariablesArgs {
|
|
|
60
60
|
apiKey?: string
|
|
61
61
|
model?: string
|
|
62
62
|
}
|
|
63
|
+
export interface SnapshotArgs {
|
|
64
|
+
branchName?: string
|
|
65
|
+
verbose?: boolean
|
|
66
|
+
}
|
|
63
67
|
export declare function publish(args: PublishArgs): Promise<void>
|
|
64
68
|
export declare function runTest(args: TestingArgs): Promise<void>
|
|
65
69
|
export declare function eitriLibs(eitriLibsArgs: EitriLibsArguments): Promise<void>
|
|
@@ -79,6 +83,7 @@ export declare namespace app {
|
|
|
79
83
|
export function appLogs(): Promise<void>
|
|
80
84
|
export function clean(args: AppCleanArguments): Promise<void>
|
|
81
85
|
export function checkout(appName: string, args: AppCheckoutArguments): Promise<void>
|
|
86
|
+
export function snapshot(args: SnapshotArgs): Promise<void>
|
|
82
87
|
}
|
|
83
88
|
export declare namespace workspace {
|
|
84
89
|
export function clean(): Promise<void>
|
package/package.json
CHANGED
|
@@ -54,6 +54,15 @@ module.exports = function AppCommand() {
|
|
|
54
54
|
return await eitriCLIV2.app.checkout(applicationName, cmdObj);
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
+
app
|
|
58
|
+
.command("snapshot")
|
|
59
|
+
.description("Faz um snapshot do código fonte do Aplicativo, criando versões testáveis e distribuíveis para features e implementações específicas.")
|
|
60
|
+
.option("-v, --verbose", "Exibe mais logs detalhados.")
|
|
61
|
+
.option("-b, --branch-name <branch-name>", "Nome do Branch para o snapshot")
|
|
62
|
+
.action(async (cmdObj) => {
|
|
63
|
+
return await eitriCLIV2.app.snapshot(cmdObj);
|
|
64
|
+
});
|
|
65
|
+
|
|
57
66
|
|
|
58
67
|
return app;
|
|
59
68
|
};
|