eitri-cli 1.41.2 → 1.42.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.
@@ -22,6 +22,7 @@ reqwest = { version = "0.11.24", features = [
22
22
  "cookies",
23
23
  "blocking",
24
24
  ] }
25
+ semver = "1.0.22"
25
26
  serde = { version = "1.0.197", features = ["derive"] }
26
27
  serde_derive = "1.0.197"
27
28
  serde_json = "1.0.114"
@@ -3,6 +3,10 @@
3
3
 
4
4
  /* auto-generated by NAPI-RS */
5
5
 
6
+ export interface AppCleanArguments {
7
+ verbose?: boolean
8
+ full?: boolean
9
+ }
6
10
  export interface CreateAppArguments {
7
11
  applicationName: string
8
12
  verbose?: boolean
@@ -64,7 +68,7 @@ export declare namespace app {
64
68
  export function start(args: StartArguments): Promise<void>
65
69
  export function create(args: CreateAppArguments): Promise<void>
66
70
  export function appLogs(): Promise<void>
67
- export function clean(): Promise<void>
71
+ export function clean(args: AppCleanArguments): Promise<void>
68
72
  }
69
73
  export declare namespace workspace {
70
74
  export function clean(): Promise<void>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eitri-cli",
3
- "version": "1.41.2",
3
+ "version": "1.42.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": {
@@ -27,9 +27,10 @@ module.exports = function AppCommand() {
27
27
 
28
28
  app
29
29
  .command("clean")
30
- .description("Realiza a limpeza do workspace remoto")
31
- .action(async () => {
32
- await eitriCLIV2.app.clean();
30
+ .description("Realiza a limpeza do workspace remoto e local do desenvolvedor")
31
+ .option("-v, --verbose", "Exibe mais logs")
32
+ .action(async (cmdObj) => {
33
+ await eitriCLIV2.app.clean(cmdObj);
33
34
  });
34
35
 
35
36
  app