@geastack/cli 0.1.10 → 0.1.11

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  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.10",
3
+ "version": "0.1.11",
4
4
  "type": "module",
5
5
  "description": "Command-line front door for GeaStack apps, targets, and local toolchains.",
6
6
  "publishConfig": {
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>