@geastack/cli 0.1.10 → 0.1.12
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/package.json +2 -2
- package/src/gea.mjs +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geastack/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Command-line front door for GeaStack apps, targets, and local toolchains.",
|
|
6
6
|
"publishConfig": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@geastack/core": "0.1.4",
|
|
31
|
-
"@geastack/targets": "0.1.
|
|
31
|
+
"@geastack/targets": "0.1.6"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"check": "node --check bin/gea.mjs && node --check bin/create-geastack.mjs && find src test packages -name '*.mjs' -print0 | xargs -0 -n1 node --check",
|
package/src/gea.mjs
CHANGED
|
@@ -279,6 +279,10 @@ function runBoard(ctx, action, parsed, opts) {
|
|
|
279
279
|
if (opts.appId) args.push(`--app=${opts.appId}`)
|
|
280
280
|
const port = option(parsed, 'port')
|
|
281
281
|
if (port) args.push(String(port))
|
|
282
|
+
if (flag(parsed, 'manual-boot')) args.push('--manual-boot')
|
|
283
|
+
if (option(parsed, 'reset') === false) args.push('--no-reset')
|
|
284
|
+
const flashBaud = option(parsed, 'flash-baud')
|
|
285
|
+
if (flashBaud !== undefined) args.push(`--flash-baud=${flashBaud}`)
|
|
282
286
|
args.push(...parsed.passthrough)
|
|
283
287
|
const childEnv = createChildEnv(ctx, opts.env)
|
|
284
288
|
if (opts.app?.manifest?.ota?.ble === true) childEnv.GEA_EMBEDDED_BLE_OTA = '1'
|
|
@@ -441,7 +445,7 @@ function usage() {
|
|
|
441
445
|
gea chips remove <chip...> [--board <alias>]
|
|
442
446
|
gea dev [app] [--target web] [--port 5181]
|
|
443
447
|
gea build [app] [--target web|macos|ios|android|<target>] [--board <alias>] [--output-tag <tag>]
|
|
444
|
-
gea flash [app] --board <alias> [--monitor] [--port auto]
|
|
448
|
+
gea flash [app] --board <alias> [--monitor] [--port auto] [--manual-boot] [--no-reset] [--flash-baud <rate>]
|
|
445
449
|
gea flash [app] --target android
|
|
446
450
|
gea flash --bringup --board <alias> [--monitor] [--port auto]
|
|
447
451
|
gea monitor --board <alias>
|