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.
@@ -4,6 +4,7 @@
4
4
  "ascii",
5
5
  "bifrost",
6
6
  "crossterm",
7
+ "deeplink",
7
8
  "development_deeplink",
8
9
  "developmentDeeplink",
9
10
  "dialoguer",
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eitri-cli",
3
- "version": "1.47.5-beta.1",
3
+ "version": "1.48.0-beta.2",
4
4
  "description": "Command Line Interface to make \"Eitri-App\" with code and fire.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -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
  };