eitri-cli 1.17.0-beta.9 → 1.17.0

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.
@@ -7,7 +7,6 @@ export interface StartArguments {
7
7
  shared?: boolean
8
8
  verbose?: boolean
9
9
  playground?: boolean
10
- initializationParams?: string
11
10
  }
12
11
  export interface EitriLibsArguments {
13
12
  bifrost?: boolean
package/index.js CHANGED
@@ -77,8 +77,8 @@ const run = async () => {
77
77
  "Gera um QR code com a URL de abertura do Eitri Playground"
78
78
  )
79
79
  .option(
80
- "-i, --initializationParams <initializationParams>",
81
- "Define os parâmetros de inicialização do Eitri-App"
80
+ "-P, --qr-printer <qrPrinter>",
81
+ "Indica qual programa imprimirá o QR Code. Se omitido, exibe o QrCode no terminal. Valores válidos: terminal|chrome|msedge|firefox"
82
82
  )
83
83
  .option(
84
84
  "-e, --emulator <platform>",
@@ -94,6 +94,14 @@ const run = async () => {
94
94
  require("./src/cmd/start")(cmdObj);
95
95
  });
96
96
 
97
+ program
98
+ .command('test-initialization-params <initializationParams>')
99
+ .option("-v, --verbose", "Exibe mais logs")
100
+ .description('Define parâmetros na query string para inicializar o Eitri-App. Exemplo: stringChave1=stringValor1&stringChave2=stringValor2...')
101
+ .action((initializationParams, cmdObj) => {
102
+ require('./src/cmd/test-initialization-params')(initializationParams, cmdObj)
103
+ })
104
+
97
105
  program
98
106
  .command("push-version")
99
107
  .description(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eitri-cli",
3
- "version": "1.17.0-beta.9",
3
+ "version": "1.17.0",
4
4
  "description": "Command Line Interface to make \"Eitri-App\" with code and fire.",
5
5
  "main": "index.js",
6
6
  "bin": {