balena-cli 22.5.6-build-renovate-aws-actions-configure-aws-credentials-5-x-2944b39b3867a1dd0a575c51dd232c6fea70e9fb-1 → 22.5.6-build-renovate-apple-actions-import-codesign-certs-3-x-a0d90954ca5b70af4b7cd88fbe1e09db72dee7fb-1

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/CHANGELOG.md CHANGED
@@ -6,7 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  ## 22.5.6 - 2025-11-14
8
8
 
9
- * Update aws-actions/configure-aws-credentials action to v5 [balena-renovate[bot]]
9
+ * Update apple-actions/import-codesign-certs action to v3 [balena-renovate[bot]]
10
10
 
11
11
  ## 22.5.5 - 2025-11-14
12
12
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "balena-cli",
3
- "version": "22.5.6-build-renovate-aws-actions-configure-aws-credentials-5-x-2944b39b3867a1dd0a575c51dd232c6fea70e9fb-1",
3
+ "version": "22.5.6-build-renovate-apple-actions-import-codesign-certs-3-x-a0d90954ca5b70af4b7cd88fbe1e09db72dee7fb-1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "balena-cli",
9
- "version": "22.5.6-build-renovate-aws-actions-configure-aws-credentials-5-x-2944b39b3867a1dd0a575c51dd232c6fea70e9fb-1",
9
+ "version": "22.5.6-build-renovate-apple-actions-import-codesign-certs-3-x-a0d90954ca5b70af4b7cd88fbe1e09db72dee7fb-1",
10
10
  "hasInstallScript": true,
11
11
  "license": "Apache-2.0",
12
12
  "dependencies": {
@@ -365,6 +365,56 @@
365
365
  "index.js"
366
366
  ]
367
367
  },
368
+ "block:create": {
369
+ "aliases": [],
370
+ "args": {
371
+ "name": {
372
+ "description": "block name",
373
+ "name": "name",
374
+ "required": true
375
+ }
376
+ },
377
+ "description": "Create an block.\n\nCreate a new balena block.\n\nYou can specify the organization the block should belong to using\nthe `--organization` option. The organization's handle, not its name,\nshould be provided. Organization handles can be listed with the\n`balena organization list` command.\n\nThe block's default device type is specified with the `--type` option.\nThe `balena device-type list` command can be used to list the available\ndevice types.\n\nInteractive dropdowns will be shown for selection if no device type or\norganization is specified and there are multiple options to choose from.\nIf there is a single option to choose from, it will be chosen automatically.\nThis interactive behavior can be disabled by explicitly specifying a device\ntype and organization.",
378
+ "examples": [
379
+ "$ balena block create MyBlock",
380
+ "$ balena block create MyBlock --organization mmyorg",
381
+ "$ balena block create MyBlock -o myorg --type raspberry-pi"
382
+ ],
383
+ "flags": {
384
+ "organization": {
385
+ "char": "o",
386
+ "description": "handle of the organization the block should belong to",
387
+ "name": "organization",
388
+ "hasDynamicHelp": false,
389
+ "multiple": false,
390
+ "type": "option"
391
+ },
392
+ "type": {
393
+ "char": "t",
394
+ "description": "block device type (Check available types with `balena device-type list`)",
395
+ "name": "type",
396
+ "hasDynamicHelp": false,
397
+ "multiple": false,
398
+ "type": "option"
399
+ }
400
+ },
401
+ "hasDynamicHelp": false,
402
+ "hiddenAliases": [],
403
+ "id": "block:create",
404
+ "pluginAlias": "balena-cli",
405
+ "pluginName": "balena-cli",
406
+ "pluginType": "core",
407
+ "strict": true,
408
+ "enableJsonFlag": false,
409
+ "authenticated": true,
410
+ "isESM": false,
411
+ "relativePath": [
412
+ "build",
413
+ "commands",
414
+ "block",
415
+ "create.js"
416
+ ]
417
+ },
368
418
  "config:generate": {
369
419
  "aliases": [],
370
420
  "args": {},
@@ -715,56 +765,6 @@
715
765
  "write.js"
716
766
  ]
717
767
  },
718
- "block:create": {
719
- "aliases": [],
720
- "args": {
721
- "name": {
722
- "description": "block name",
723
- "name": "name",
724
- "required": true
725
- }
726
- },
727
- "description": "Create an block.\n\nCreate a new balena block.\n\nYou can specify the organization the block should belong to using\nthe `--organization` option. The organization's handle, not its name,\nshould be provided. Organization handles can be listed with the\n`balena organization list` command.\n\nThe block's default device type is specified with the `--type` option.\nThe `balena device-type list` command can be used to list the available\ndevice types.\n\nInteractive dropdowns will be shown for selection if no device type or\norganization is specified and there are multiple options to choose from.\nIf there is a single option to choose from, it will be chosen automatically.\nThis interactive behavior can be disabled by explicitly specifying a device\ntype and organization.",
728
- "examples": [
729
- "$ balena block create MyBlock",
730
- "$ balena block create MyBlock --organization mmyorg",
731
- "$ balena block create MyBlock -o myorg --type raspberry-pi"
732
- ],
733
- "flags": {
734
- "organization": {
735
- "char": "o",
736
- "description": "handle of the organization the block should belong to",
737
- "name": "organization",
738
- "hasDynamicHelp": false,
739
- "multiple": false,
740
- "type": "option"
741
- },
742
- "type": {
743
- "char": "t",
744
- "description": "block device type (Check available types with `balena device-type list`)",
745
- "name": "type",
746
- "hasDynamicHelp": false,
747
- "multiple": false,
748
- "type": "option"
749
- }
750
- },
751
- "hasDynamicHelp": false,
752
- "hiddenAliases": [],
753
- "id": "block:create",
754
- "pluginAlias": "balena-cli",
755
- "pluginName": "balena-cli",
756
- "pluginType": "core",
757
- "strict": true,
758
- "enableJsonFlag": false,
759
- "authenticated": true,
760
- "isESM": false,
761
- "relativePath": [
762
- "build",
763
- "commands",
764
- "block",
765
- "create.js"
766
- ]
767
- },
768
768
  "deploy": {
769
769
  "aliases": [],
770
770
  "args": {
@@ -3438,134 +3438,299 @@
3438
3438
  "index.js"
3439
3439
  ]
3440
3440
  },
3441
- "os:build-config": {
3441
+ "push": {
3442
3442
  "aliases": [],
3443
3443
  "args": {
3444
- "image": {
3445
- "description": "os image",
3446
- "name": "image",
3447
- "required": true
3448
- },
3449
- "device-type": {
3450
- "description": "device type",
3451
- "name": "device-type",
3444
+ "fleetOrDevice": {
3445
+ "description": "fleet name or slug, or local device IP address or \".local\" hostname",
3446
+ "name": "fleetOrDevice",
3452
3447
  "required": true
3453
3448
  }
3454
3449
  },
3455
- "description": "Prepare a configuration file for use by the 'os configure' command.\n\nInteractively generate a configuration file that can then be used as\nnon-interactive input by the 'balena os configure' command.\n\nDEPRECATED: Use 'balena config generate' instead.",
3450
+ "description": "Build release images on balenaCloud servers or on a local mode device.\n\nBuild release images on balenaCloud servers or on a local mode device.\n\nWhen building on the balenaCloud servers, the given source directory will be\nsent to the remote server. This can be used as a drop-in replacement for the\n\"git push\" deployment method.\n\nWhen building on a local mode device, the given source directory will be\nbuilt on the device, and the resulting containers will be run on the device.\nLogs will be streamed back from the device as part of the same invocation.\nThe web dashboard can be used to switch a device to local mode:\nhttps://www.balena.io/docs/learn/develop/local-mode/\nNote that local mode requires a supervisor version of at least v7.21.0.\nThe logs from only a single service can be shown with the --service flag, and\nshowing only the system logs can be achieved with --system. Note that these\nflags can be used together.\n\nWhen pushing to a local device a live session will be started.\nThe project source folder is watched for filesystem events, and changes\nto files and folders are automatically synchronized to the running\ncontainers. The synchronization is only in one direction, from this machine to\nthe device, and changes made on the device itself may be overwritten.\nThis feature requires a device running supervisor version v9.7.0 or greater.\n\nREGISTRY SECRETS \nThe --registry-secrets option specifies a JSON or YAML file containing private\nDocker registry usernames and passwords to be used when pulling base images.\nSample registry-secrets YAML file:\n```\n\t'my-registry-server.com:25000':\n\t\tusername: ann\n\t\tpassword: hunter2\n\t'': # Use the empty string to refer to the Docker Hub\n\t\tusername: mike\n\t\tpassword: cze14\n\t'eu.gcr.io': # Google Container Registry\n\t\tusername: '_json_key'\n\t\tpassword: '{escaped contents of the GCR keyfile.json file}'\n```\nFor a sample project using registry secrets with the Google Container Registry,\ncheck: https://github.com/balena-io-examples/sample-gcr-registry-secrets\n\nIf the --registry-secrets option is not specified, and a secrets.yml or\nsecrets.json file exists in the balena directory (usually $HOME/.balena),\nthis file will be used instead.\n\nDOCKERIGNORE AND GITIGNORE FILES \nBy default, the balena CLI will use a single \".dockerignore\" file (if any) at\nthe project root (--source directory) in order to decide which source files to\nexclude from the \"build context\" (tar stream) sent to balenaCloud, Docker\ndaemon or balenaEngine. In a microservices (multicontainer) fleet, the\nsource directory is the directory that contains the \"docker-compose.yml\" file.\n\nThe --multi-dockerignore (-m) option may be used with microservices\n(multicontainer) fleets that define a docker-compose.yml file. When this\noption is used, each service subdirectory (defined by the `build` or\n`build.context` service properties in the docker-compose.yml file) is\nfiltered separately according to a .dockerignore file defined in the service\nsubdirectory. If no .dockerignore file exists in a service subdirectory, then\nonly the default .dockerignore patterns (see below) apply for that service\nsubdirectory.\n\nWhen the --multi-dockerignore (-m) option is used, the .dockerignore file (if\nany) defined at the overall project root will be used to filter files and\nsubdirectories other than service subdirectories. It will not have any effect\non service subdirectories, whether or not a service subdirectory defines its\nown .dockerignore file. Multiple .dockerignore files are not merged or added\ntogether, and cannot override or extend other files. This behavior maximizes\ncompatibility with the standard docker-compose tool, while still allowing a\nroot .dockerignore file (at the overall project root) to filter files and\nfolders that are outside service subdirectories.\n\nbalena CLI v11 also took .gitignore files into account. This behavior was\ndeprecated in CLI v12 and removed in CLI v13. Please use .dockerignore files\ninstead.\n\nDefault .dockerignore patterns \nA few default/hardcoded dockerignore patterns are \"merged\" (in memory) with the\npatterns found in the applicable .dockerignore files, in the following order:\n```\n **/.git\n < user's patterns from the applicable '.dockerignore' file, if any >\n !**/.balena\n !**/.resin\n !**/Dockerfile\n !**/Dockerfile.*\n !**/docker-compose.yml\n```\nThese patterns always apply, whether or not .dockerignore files exist in the\nproject. If necessary, the effect of the `**/.git` pattern may be modified by\nadding exception patterns to the applicable .dockerignore file(s), for example\n`!mysubmodule/.git`. For documentation on pattern format, see:\n- https://docs.docker.com/engine/reference/builder/#dockerignore-file\n- https://www.npmjs.com/package/@balena/dockerignore\n\nNote: the --service and --env flags must come after the fleetOrDevice\nparameter, as per examples.",
3456
3451
  "examples": [
3457
- "$ balena os build-config ../path/rpi3.img raspberrypi3 --output rpi3-config.json",
3458
- "$ balena os configure ../path/rpi3.img --device 7cf02a6 --config rpi3-config.json"
3452
+ "$ balena push myFleet",
3453
+ "$ balena push myFleet --source <source directory>",
3454
+ "$ balena push myFleet -s <source directory>",
3455
+ "$ balena push myFleet --source <source directory> --note \"this is the note for this release\"",
3456
+ "$ balena push myFleet --release-tag key1 \"\" key2 \"value2 with spaces\"",
3457
+ "$ balena push myorg/myfleet",
3458
+ "",
3459
+ "$ balena push 10.0.0.1",
3460
+ "$ balena push 10.0.0.1 --source <source directory>",
3461
+ "$ balena push 10.0.0.1 --service my-service",
3462
+ "$ balena push 10.0.0.1 --env MY_ENV_VAR=value --env my-service:SERVICE_VAR=value",
3463
+ "$ balena push 10.0.0.1 --nolive",
3464
+ "",
3465
+ "$ balena push 23c73a1.local --system",
3466
+ "$ balena push 23c73a1.local --system --service my-service"
3459
3467
  ],
3460
3468
  "flags": {
3461
- "advanced": {
3462
- "char": "v",
3463
- "description": "show advanced configuration options",
3464
- "name": "advanced",
3465
- "allowNo": false,
3466
- "type": "boolean"
3467
- },
3468
- "output": {
3469
- "char": "o",
3470
- "description": "path to output JSON file",
3471
- "name": "output",
3472
- "required": true,
3469
+ "source": {
3470
+ "char": "s",
3471
+ "description": "Source directory to be sent to balenaCloud or balenaOS device\n(default: current working dir)",
3472
+ "name": "source",
3473
+ "default": ".",
3473
3474
  "hasDynamicHelp": false,
3474
3475
  "multiple": false,
3475
3476
  "type": "option"
3476
- }
3477
- },
3478
- "hasDynamicHelp": false,
3479
- "hiddenAliases": [],
3480
- "id": "os:build-config",
3481
- "pluginAlias": "balena-cli",
3482
- "pluginName": "balena-cli",
3483
- "pluginType": "core",
3484
- "strict": true,
3485
- "enableJsonFlag": false,
3486
- "authenticated": true,
3487
- "isESM": false,
3488
- "relativePath": [
3489
- "build",
3490
- "commands",
3491
- "os",
3492
- "build-config.js"
3493
- ]
3494
- },
3495
- "os:configure": {
3496
- "aliases": [],
3497
- "args": {
3498
- "image": {
3499
- "description": "path to a balenaOS image file, e.g. \"rpi3.img\"",
3500
- "name": "image",
3501
- "required": true
3502
- }
3503
- },
3504
- "description": "Configure a previously downloaded balenaOS image.\n\nConfigure a previously downloaded balenaOS image for a specific device type\nor fleet.\n\nConfiguration settings such as WiFi authentication will be taken from the\nfollowing sources, in precedence order:\n1. Command-line options like `--config-wifi-ssid`\n2. A given `config.json` file specified with the `--config` option.\n3. User input through interactive prompts (text menus).\n\nThe --device-type option is used to override the fleet's default device type,\nin case of a fleet with mixed device types.\n\nThe '--dev' option is used to configure balenaOS to operate in development mode,\nallowing unauthenticated root ssh access and exposing network ports such as\nbalenaEngine's 2375 (unencrypted). This option causes `\"developmentMode\": true`\nto be inserted in the 'config.json' file in the image's boot partition. Development\nmode (as a configurable option) is applicable to balenaOS releases from early\n2022. Older releases have separate development and production balenaOS images\nthat cannot be reconfigured through 'config.json' or the '--dev' option. Do not\nconfuse the balenaOS \"development mode\" with a device's \"local mode\", the latter\nbeing a supervisor feature that allows the \"balena push\" command to push a user's\napplication directly to a device in the local network.\n\nThe '--secureBoot' option is used to configure a balenaOS installer image to opt-in\nsecure boot and disk encryption.\n\nThe --system-connection (-c) option is used to inject NetworkManager connection\nprofiles for additional network interfaces, such as cellular/GSM or additional\nWiFi or ethernet connections. This option may be passed multiple times in case there\nare multiple files to inject. See connection profile examples and reference at:\nhttps://www.balena.io/docs/reference/OS/network/2.x/\nhttps://developer.gnome.org/NetworkManager/stable/ref-settings.html\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).",
3505
- "examples": [
3506
- "$ balena os configure ../path/rpi3.img --device 7cf02a6",
3507
- "$ balena os configure ../path/rpi3.img --fleet myorg/myfleet",
3508
- "$ balena os configure ../path/rpi3.img -f myorg/myfleet --device-type raspberrypi3",
3509
- "$ balena os configure ../path/rpi3.img -f myorg/myfleet --device-type raspberrypi3 --config myWifiConfig.json"
3510
- ],
3511
- "flags": {
3512
- "advanced": {
3513
- "char": "v",
3514
- "description": "ask advanced configuration questions (when in interactive mode)",
3515
- "name": "advanced",
3477
+ },
3478
+ "emulated": {
3479
+ "char": "e",
3480
+ "description": "Don't use the faster, native balenaCloud ARM builders; force slower QEMU ARM\nemulation on Intel x86-64 builders. This flag is sometimes used to investigate\nsuspected issues with the balenaCloud backend.",
3481
+ "name": "emulated",
3516
3482
  "allowNo": false,
3517
3483
  "type": "boolean"
3518
3484
  },
3519
- "fleet": {
3520
- "char": "f",
3521
- "description": "fleet name or slug (preferred)",
3522
- "exclusive": [
3523
- "device"
3524
- ],
3525
- "name": "fleet",
3485
+ "dockerfile": {
3486
+ "description": "Alternative Dockerfile name/path, relative to the source folder",
3487
+ "name": "dockerfile",
3526
3488
  "hasDynamicHelp": false,
3527
3489
  "multiple": false,
3528
3490
  "type": "option"
3529
3491
  },
3530
- "config": {
3531
- "description": "path to a pre-generated config.json file to be injected in the OS image",
3532
- "exclusive": [
3533
- "provisioning-key-name",
3534
- "provisioning-key-expiry-date"
3535
- ],
3536
- "name": "config",
3537
- "hasDynamicHelp": false,
3538
- "multiple": false,
3539
- "type": "option"
3492
+ "nocache": {
3493
+ "char": "c",
3494
+ "description": "Don't use cached layers of previously built images for this project. This\nensures that the latest base image and packages are pulled. Note that build\nlogs may still display the message _\"Pulling previous images for caching\npurposes\" (as the cloud builder needs previous images to compute delta\nupdates), but the logs will not display the \"Using cache\" lines for each\nbuild step of a Dockerfile.",
3495
+ "name": "nocache",
3496
+ "allowNo": false,
3497
+ "type": "boolean"
3540
3498
  },
3541
- "config-app-update-poll-interval": {
3542
- "description": "supervisor cloud polling interval in minutes (e.g. for variable updates)",
3543
- "name": "config-app-update-poll-interval",
3544
- "hasDynamicHelp": false,
3545
- "multiple": false,
3546
- "type": "option"
3499
+ "pull": {
3500
+ "description": "When pushing to a local device, force the base images to be pulled again.\nCurrently this option is ignored when pushing to the balenaCloud builders.",
3501
+ "name": "pull",
3502
+ "allowNo": false,
3503
+ "type": "boolean"
3547
3504
  },
3548
- "config-network": {
3549
- "description": "device network type (non-interactive configuration)",
3550
- "name": "config-network",
3551
- "hasDynamicHelp": false,
3552
- "multiple": false,
3553
- "options": [
3554
- "ethernet",
3555
- "wifi"
3556
- ],
3557
- "type": "option"
3505
+ "noparent-check": {
3506
+ "description": "Disable project validation check of 'docker-compose.yml' file in parent folder",
3507
+ "name": "noparent-check",
3508
+ "allowNo": false,
3509
+ "type": "boolean"
3558
3510
  },
3559
- "config-wifi-key": {
3560
- "description": "WiFi key (password) (non-interactive configuration)",
3561
- "name": "config-wifi-key",
3511
+ "registry-secrets": {
3512
+ "char": "R",
3513
+ "description": "Path to a local YAML or JSON file containing Docker registry passwords used\nto pull base images. Note that if registry-secrets are not provided on the\ncommand line, a secrets configuration file from the balena directory will be\nused (usually $HOME/.balena/secrets.yml|.json)",
3514
+ "name": "registry-secrets",
3562
3515
  "hasDynamicHelp": false,
3563
3516
  "multiple": false,
3564
3517
  "type": "option"
3565
3518
  },
3566
- "config-wifi-ssid": {
3567
- "description": "WiFi SSID (network name) (non-interactive configuration)",
3568
- "name": "config-wifi-ssid",
3519
+ "nolive": {
3520
+ "description": "Don't run a live session on this push. The filesystem will not be monitored,\nand changes will not be synchronized to any running containers. Note that both\nthis flag and --detached are required to cause the process to end once the\ninitial build has completed.",
3521
+ "name": "nolive",
3522
+ "allowNo": false,
3523
+ "type": "boolean"
3524
+ },
3525
+ "detached": {
3526
+ "char": "d",
3527
+ "description": "When pushing to the cloud, this option will cause the build to start, then\nreturn execution back to the shell, with the status and release ID (if\napplicable). When pushing to a local mode device, this option will cause\nthe command to not tail logs when the build has completed.",
3528
+ "name": "detached",
3529
+ "allowNo": false,
3530
+ "type": "boolean"
3531
+ },
3532
+ "service": {
3533
+ "description": "Reject logs not originating from this service.\nThis can be used in combination with --system and other --service flags.\nOnly valid when pushing to a local mode device.",
3534
+ "name": "service",
3535
+ "hasDynamicHelp": false,
3536
+ "multiple": true,
3537
+ "type": "option"
3538
+ },
3539
+ "system": {
3540
+ "description": "Only show system logs. This can be used in combination with --service.\nOnly valid when pushing to a local mode device.",
3541
+ "name": "system",
3542
+ "allowNo": false,
3543
+ "type": "boolean"
3544
+ },
3545
+ "env": {
3546
+ "description": "When performing a push to device, run the built containers with environment\nvariables provided with this argument. Environment variables can be applied\nto individual services by adding their service name before the argument,\nseparated by a colon, e.g:\n\t--env main:MY_ENV=value\nNote that if the service name cannot be found in the composition, the entire\nleft hand side of the = character will be treated as the variable name.",
3547
+ "name": "env",
3548
+ "hasDynamicHelp": false,
3549
+ "multiple": true,
3550
+ "type": "option"
3551
+ },
3552
+ "noconvert-eol": {
3553
+ "description": "Don't convert line endings from CRLF (Windows format) to LF (Unix format).",
3554
+ "name": "noconvert-eol",
3555
+ "allowNo": false,
3556
+ "type": "boolean"
3557
+ },
3558
+ "multi-dockerignore": {
3559
+ "char": "m",
3560
+ "description": "Have each service use its own .dockerignore file. See \"balena help push\".",
3561
+ "name": "multi-dockerignore",
3562
+ "allowNo": false,
3563
+ "type": "boolean"
3564
+ },
3565
+ "release-tag": {
3566
+ "description": "Set release tags if the image build is successful (balenaCloud only). Multiple\narguments may be provided, alternating tag keys and values (see examples).\nHint: Empty values may be specified with \"\" (bash, cmd.exe) or '\"\"' (PowerShell).",
3567
+ "exclusive": [
3568
+ "detached"
3569
+ ],
3570
+ "name": "release-tag",
3571
+ "hasDynamicHelp": false,
3572
+ "multiple": true,
3573
+ "type": "option"
3574
+ },
3575
+ "draft": {
3576
+ "description": "Instruct the builder to create the release as a draft. Draft releases are ignored\nby the 'track latest' release policy but can be used through release pinning.\nDraft releases can be marked as final through the API. Releases are created\nas final by default unless this option is given.",
3577
+ "name": "draft",
3578
+ "allowNo": false,
3579
+ "type": "boolean"
3580
+ },
3581
+ "note": {
3582
+ "description": "The notes for this release",
3583
+ "name": "note",
3584
+ "hasDynamicHelp": false,
3585
+ "multiple": false,
3586
+ "type": "option"
3587
+ }
3588
+ },
3589
+ "hasDynamicHelp": false,
3590
+ "hiddenAliases": [],
3591
+ "id": "push",
3592
+ "pluginAlias": "balena-cli",
3593
+ "pluginName": "balena-cli",
3594
+ "pluginType": "core",
3595
+ "strict": true,
3596
+ "enableJsonFlag": false,
3597
+ "primary": true,
3598
+ "isESM": false,
3599
+ "relativePath": [
3600
+ "build",
3601
+ "commands",
3602
+ "push",
3603
+ "index.js"
3604
+ ]
3605
+ },
3606
+ "os:build-config": {
3607
+ "aliases": [],
3608
+ "args": {
3609
+ "image": {
3610
+ "description": "os image",
3611
+ "name": "image",
3612
+ "required": true
3613
+ },
3614
+ "device-type": {
3615
+ "description": "device type",
3616
+ "name": "device-type",
3617
+ "required": true
3618
+ }
3619
+ },
3620
+ "description": "Prepare a configuration file for use by the 'os configure' command.\n\nInteractively generate a configuration file that can then be used as\nnon-interactive input by the 'balena os configure' command.\n\nDEPRECATED: Use 'balena config generate' instead.",
3621
+ "examples": [
3622
+ "$ balena os build-config ../path/rpi3.img raspberrypi3 --output rpi3-config.json",
3623
+ "$ balena os configure ../path/rpi3.img --device 7cf02a6 --config rpi3-config.json"
3624
+ ],
3625
+ "flags": {
3626
+ "advanced": {
3627
+ "char": "v",
3628
+ "description": "show advanced configuration options",
3629
+ "name": "advanced",
3630
+ "allowNo": false,
3631
+ "type": "boolean"
3632
+ },
3633
+ "output": {
3634
+ "char": "o",
3635
+ "description": "path to output JSON file",
3636
+ "name": "output",
3637
+ "required": true,
3638
+ "hasDynamicHelp": false,
3639
+ "multiple": false,
3640
+ "type": "option"
3641
+ }
3642
+ },
3643
+ "hasDynamicHelp": false,
3644
+ "hiddenAliases": [],
3645
+ "id": "os:build-config",
3646
+ "pluginAlias": "balena-cli",
3647
+ "pluginName": "balena-cli",
3648
+ "pluginType": "core",
3649
+ "strict": true,
3650
+ "enableJsonFlag": false,
3651
+ "authenticated": true,
3652
+ "isESM": false,
3653
+ "relativePath": [
3654
+ "build",
3655
+ "commands",
3656
+ "os",
3657
+ "build-config.js"
3658
+ ]
3659
+ },
3660
+ "os:configure": {
3661
+ "aliases": [],
3662
+ "args": {
3663
+ "image": {
3664
+ "description": "path to a balenaOS image file, e.g. \"rpi3.img\"",
3665
+ "name": "image",
3666
+ "required": true
3667
+ }
3668
+ },
3669
+ "description": "Configure a previously downloaded balenaOS image.\n\nConfigure a previously downloaded balenaOS image for a specific device type\nor fleet.\n\nConfiguration settings such as WiFi authentication will be taken from the\nfollowing sources, in precedence order:\n1. Command-line options like `--config-wifi-ssid`\n2. A given `config.json` file specified with the `--config` option.\n3. User input through interactive prompts (text menus).\n\nThe --device-type option is used to override the fleet's default device type,\nin case of a fleet with mixed device types.\n\nThe '--dev' option is used to configure balenaOS to operate in development mode,\nallowing unauthenticated root ssh access and exposing network ports such as\nbalenaEngine's 2375 (unencrypted). This option causes `\"developmentMode\": true`\nto be inserted in the 'config.json' file in the image's boot partition. Development\nmode (as a configurable option) is applicable to balenaOS releases from early\n2022. Older releases have separate development and production balenaOS images\nthat cannot be reconfigured through 'config.json' or the '--dev' option. Do not\nconfuse the balenaOS \"development mode\" with a device's \"local mode\", the latter\nbeing a supervisor feature that allows the \"balena push\" command to push a user's\napplication directly to a device in the local network.\n\nThe '--secureBoot' option is used to configure a balenaOS installer image to opt-in\nsecure boot and disk encryption.\n\nThe --system-connection (-c) option is used to inject NetworkManager connection\nprofiles for additional network interfaces, such as cellular/GSM or additional\nWiFi or ethernet connections. This option may be passed multiple times in case there\nare multiple files to inject. See connection profile examples and reference at:\nhttps://www.balena.io/docs/reference/OS/network/2.x/\nhttps://developer.gnome.org/NetworkManager/stable/ref-settings.html\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).",
3670
+ "examples": [
3671
+ "$ balena os configure ../path/rpi3.img --device 7cf02a6",
3672
+ "$ balena os configure ../path/rpi3.img --fleet myorg/myfleet",
3673
+ "$ balena os configure ../path/rpi3.img -f myorg/myfleet --device-type raspberrypi3",
3674
+ "$ balena os configure ../path/rpi3.img -f myorg/myfleet --device-type raspberrypi3 --config myWifiConfig.json"
3675
+ ],
3676
+ "flags": {
3677
+ "advanced": {
3678
+ "char": "v",
3679
+ "description": "ask advanced configuration questions (when in interactive mode)",
3680
+ "name": "advanced",
3681
+ "allowNo": false,
3682
+ "type": "boolean"
3683
+ },
3684
+ "fleet": {
3685
+ "char": "f",
3686
+ "description": "fleet name or slug (preferred)",
3687
+ "exclusive": [
3688
+ "device"
3689
+ ],
3690
+ "name": "fleet",
3691
+ "hasDynamicHelp": false,
3692
+ "multiple": false,
3693
+ "type": "option"
3694
+ },
3695
+ "config": {
3696
+ "description": "path to a pre-generated config.json file to be injected in the OS image",
3697
+ "exclusive": [
3698
+ "provisioning-key-name",
3699
+ "provisioning-key-expiry-date"
3700
+ ],
3701
+ "name": "config",
3702
+ "hasDynamicHelp": false,
3703
+ "multiple": false,
3704
+ "type": "option"
3705
+ },
3706
+ "config-app-update-poll-interval": {
3707
+ "description": "supervisor cloud polling interval in minutes (e.g. for variable updates)",
3708
+ "name": "config-app-update-poll-interval",
3709
+ "hasDynamicHelp": false,
3710
+ "multiple": false,
3711
+ "type": "option"
3712
+ },
3713
+ "config-network": {
3714
+ "description": "device network type (non-interactive configuration)",
3715
+ "name": "config-network",
3716
+ "hasDynamicHelp": false,
3717
+ "multiple": false,
3718
+ "options": [
3719
+ "ethernet",
3720
+ "wifi"
3721
+ ],
3722
+ "type": "option"
3723
+ },
3724
+ "config-wifi-key": {
3725
+ "description": "WiFi key (password) (non-interactive configuration)",
3726
+ "name": "config-wifi-key",
3727
+ "hasDynamicHelp": false,
3728
+ "multiple": false,
3729
+ "type": "option"
3730
+ },
3731
+ "config-wifi-ssid": {
3732
+ "description": "WiFi SSID (network name) (non-interactive configuration)",
3733
+ "name": "config-wifi-ssid",
3569
3734
  "hasDynamicHelp": false,
3570
3735
  "multiple": false,
3571
3736
  "type": "option"
@@ -3744,246 +3909,81 @@
3744
3909
  "hasDynamicHelp": false,
3745
3910
  "multiple": false,
3746
3911
  "type": "option"
3747
- },
3748
- "drive": {
3749
- "char": "d",
3750
- "description": "the drive to write the image to, eg. `/dev/sdb` or `/dev/mmcblk0`.\nCareful with this as you can erase your hard drive.\nCheck `balena util available-drives` for available options.",
3751
- "name": "drive",
3752
- "hasDynamicHelp": false,
3753
- "multiple": false,
3754
- "type": "option"
3755
- },
3756
- "yes": {
3757
- "char": "y",
3758
- "description": "answer \"yes\" to all questions (non interactive use)",
3759
- "name": "yes",
3760
- "allowNo": false,
3761
- "type": "boolean"
3762
- }
3763
- },
3764
- "hasDynamicHelp": false,
3765
- "hiddenAliases": [],
3766
- "id": "os:initialize",
3767
- "pluginAlias": "balena-cli",
3768
- "pluginName": "balena-cli",
3769
- "pluginType": "core",
3770
- "strict": true,
3771
- "enableJsonFlag": false,
3772
- "authenticated": true,
3773
- "isESM": false,
3774
- "relativePath": [
3775
- "build",
3776
- "commands",
3777
- "os",
3778
- "initialize.js"
3779
- ]
3780
- },
3781
- "os:versions": {
3782
- "aliases": [],
3783
- "args": {
3784
- "type": {
3785
- "description": "device type",
3786
- "name": "type",
3787
- "required": true
3788
- }
3789
- },
3790
- "description": "Show available balenaOS versions for the given device type.\n\nShow the available balenaOS versions for the given device type.\nCheck available types with `balena device-type list`.\n\nbalenaOS ESR versions can be listed with the '--esr' option. See also:\nhttps://www.balena.io/docs/reference/OS/extended-support-release/",
3791
- "examples": [
3792
- "$ balena os versions raspberrypi3"
3793
- ],
3794
- "flags": {
3795
- "esr": {
3796
- "description": "select balenaOS ESR versions",
3797
- "name": "esr",
3798
- "allowNo": false,
3799
- "type": "boolean"
3800
- },
3801
- "include-draft": {
3802
- "description": "include pre-release balenaOS versions",
3803
- "name": "include-draft",
3804
- "allowNo": false,
3805
- "type": "boolean"
3806
- }
3807
- },
3808
- "hasDynamicHelp": false,
3809
- "hiddenAliases": [],
3810
- "id": "os:versions",
3811
- "pluginAlias": "balena-cli",
3812
- "pluginName": "balena-cli",
3813
- "pluginType": "core",
3814
- "strict": true,
3815
- "enableJsonFlag": false,
3816
- "isESM": false,
3817
- "relativePath": [
3818
- "build",
3819
- "commands",
3820
- "os",
3821
- "versions.js"
3822
- ]
3823
- },
3824
- "push": {
3825
- "aliases": [],
3826
- "args": {
3827
- "fleetOrDevice": {
3828
- "description": "fleet name or slug, or local device IP address or \".local\" hostname",
3829
- "name": "fleetOrDevice",
3830
- "required": true
3831
- }
3832
- },
3833
- "description": "Build release images on balenaCloud servers or on a local mode device.\n\nBuild release images on balenaCloud servers or on a local mode device.\n\nWhen building on the balenaCloud servers, the given source directory will be\nsent to the remote server. This can be used as a drop-in replacement for the\n\"git push\" deployment method.\n\nWhen building on a local mode device, the given source directory will be\nbuilt on the device, and the resulting containers will be run on the device.\nLogs will be streamed back from the device as part of the same invocation.\nThe web dashboard can be used to switch a device to local mode:\nhttps://www.balena.io/docs/learn/develop/local-mode/\nNote that local mode requires a supervisor version of at least v7.21.0.\nThe logs from only a single service can be shown with the --service flag, and\nshowing only the system logs can be achieved with --system. Note that these\nflags can be used together.\n\nWhen pushing to a local device a live session will be started.\nThe project source folder is watched for filesystem events, and changes\nto files and folders are automatically synchronized to the running\ncontainers. The synchronization is only in one direction, from this machine to\nthe device, and changes made on the device itself may be overwritten.\nThis feature requires a device running supervisor version v9.7.0 or greater.\n\nREGISTRY SECRETS \nThe --registry-secrets option specifies a JSON or YAML file containing private\nDocker registry usernames and passwords to be used when pulling base images.\nSample registry-secrets YAML file:\n```\n\t'my-registry-server.com:25000':\n\t\tusername: ann\n\t\tpassword: hunter2\n\t'': # Use the empty string to refer to the Docker Hub\n\t\tusername: mike\n\t\tpassword: cze14\n\t'eu.gcr.io': # Google Container Registry\n\t\tusername: '_json_key'\n\t\tpassword: '{escaped contents of the GCR keyfile.json file}'\n```\nFor a sample project using registry secrets with the Google Container Registry,\ncheck: https://github.com/balena-io-examples/sample-gcr-registry-secrets\n\nIf the --registry-secrets option is not specified, and a secrets.yml or\nsecrets.json file exists in the balena directory (usually $HOME/.balena),\nthis file will be used instead.\n\nDOCKERIGNORE AND GITIGNORE FILES \nBy default, the balena CLI will use a single \".dockerignore\" file (if any) at\nthe project root (--source directory) in order to decide which source files to\nexclude from the \"build context\" (tar stream) sent to balenaCloud, Docker\ndaemon or balenaEngine. In a microservices (multicontainer) fleet, the\nsource directory is the directory that contains the \"docker-compose.yml\" file.\n\nThe --multi-dockerignore (-m) option may be used with microservices\n(multicontainer) fleets that define a docker-compose.yml file. When this\noption is used, each service subdirectory (defined by the `build` or\n`build.context` service properties in the docker-compose.yml file) is\nfiltered separately according to a .dockerignore file defined in the service\nsubdirectory. If no .dockerignore file exists in a service subdirectory, then\nonly the default .dockerignore patterns (see below) apply for that service\nsubdirectory.\n\nWhen the --multi-dockerignore (-m) option is used, the .dockerignore file (if\nany) defined at the overall project root will be used to filter files and\nsubdirectories other than service subdirectories. It will not have any effect\non service subdirectories, whether or not a service subdirectory defines its\nown .dockerignore file. Multiple .dockerignore files are not merged or added\ntogether, and cannot override or extend other files. This behavior maximizes\ncompatibility with the standard docker-compose tool, while still allowing a\nroot .dockerignore file (at the overall project root) to filter files and\nfolders that are outside service subdirectories.\n\nbalena CLI v11 also took .gitignore files into account. This behavior was\ndeprecated in CLI v12 and removed in CLI v13. Please use .dockerignore files\ninstead.\n\nDefault .dockerignore patterns \nA few default/hardcoded dockerignore patterns are \"merged\" (in memory) with the\npatterns found in the applicable .dockerignore files, in the following order:\n```\n **/.git\n < user's patterns from the applicable '.dockerignore' file, if any >\n !**/.balena\n !**/.resin\n !**/Dockerfile\n !**/Dockerfile.*\n !**/docker-compose.yml\n```\nThese patterns always apply, whether or not .dockerignore files exist in the\nproject. If necessary, the effect of the `**/.git` pattern may be modified by\nadding exception patterns to the applicable .dockerignore file(s), for example\n`!mysubmodule/.git`. For documentation on pattern format, see:\n- https://docs.docker.com/engine/reference/builder/#dockerignore-file\n- https://www.npmjs.com/package/@balena/dockerignore\n\nNote: the --service and --env flags must come after the fleetOrDevice\nparameter, as per examples.",
3834
- "examples": [
3835
- "$ balena push myFleet",
3836
- "$ balena push myFleet --source <source directory>",
3837
- "$ balena push myFleet -s <source directory>",
3838
- "$ balena push myFleet --source <source directory> --note \"this is the note for this release\"",
3839
- "$ balena push myFleet --release-tag key1 \"\" key2 \"value2 with spaces\"",
3840
- "$ balena push myorg/myfleet",
3841
- "",
3842
- "$ balena push 10.0.0.1",
3843
- "$ balena push 10.0.0.1 --source <source directory>",
3844
- "$ balena push 10.0.0.1 --service my-service",
3845
- "$ balena push 10.0.0.1 --env MY_ENV_VAR=value --env my-service:SERVICE_VAR=value",
3846
- "$ balena push 10.0.0.1 --nolive",
3847
- "",
3848
- "$ balena push 23c73a1.local --system",
3849
- "$ balena push 23c73a1.local --system --service my-service"
3850
- ],
3851
- "flags": {
3852
- "source": {
3853
- "char": "s",
3854
- "description": "Source directory to be sent to balenaCloud or balenaOS device\n(default: current working dir)",
3855
- "name": "source",
3856
- "default": ".",
3857
- "hasDynamicHelp": false,
3858
- "multiple": false,
3859
- "type": "option"
3860
- },
3861
- "emulated": {
3862
- "char": "e",
3863
- "description": "Don't use the faster, native balenaCloud ARM builders; force slower QEMU ARM\nemulation on Intel x86-64 builders. This flag is sometimes used to investigate\nsuspected issues with the balenaCloud backend.",
3864
- "name": "emulated",
3865
- "allowNo": false,
3866
- "type": "boolean"
3867
- },
3868
- "dockerfile": {
3869
- "description": "Alternative Dockerfile name/path, relative to the source folder",
3870
- "name": "dockerfile",
3871
- "hasDynamicHelp": false,
3872
- "multiple": false,
3873
- "type": "option"
3874
- },
3875
- "nocache": {
3876
- "char": "c",
3877
- "description": "Don't use cached layers of previously built images for this project. This\nensures that the latest base image and packages are pulled. Note that build\nlogs may still display the message _\"Pulling previous images for caching\npurposes\" (as the cloud builder needs previous images to compute delta\nupdates), but the logs will not display the \"Using cache\" lines for each\nbuild step of a Dockerfile.",
3878
- "name": "nocache",
3879
- "allowNo": false,
3880
- "type": "boolean"
3881
- },
3882
- "pull": {
3883
- "description": "When pushing to a local device, force the base images to be pulled again.\nCurrently this option is ignored when pushing to the balenaCloud builders.",
3884
- "name": "pull",
3885
- "allowNo": false,
3886
- "type": "boolean"
3887
- },
3888
- "noparent-check": {
3889
- "description": "Disable project validation check of 'docker-compose.yml' file in parent folder",
3890
- "name": "noparent-check",
3891
- "allowNo": false,
3892
- "type": "boolean"
3893
- },
3894
- "registry-secrets": {
3895
- "char": "R",
3896
- "description": "Path to a local YAML or JSON file containing Docker registry passwords used\nto pull base images. Note that if registry-secrets are not provided on the\ncommand line, a secrets configuration file from the balena directory will be\nused (usually $HOME/.balena/secrets.yml|.json)",
3897
- "name": "registry-secrets",
3898
- "hasDynamicHelp": false,
3899
- "multiple": false,
3900
- "type": "option"
3901
- },
3902
- "nolive": {
3903
- "description": "Don't run a live session on this push. The filesystem will not be monitored,\nand changes will not be synchronized to any running containers. Note that both\nthis flag and --detached are required to cause the process to end once the\ninitial build has completed.",
3904
- "name": "nolive",
3905
- "allowNo": false,
3906
- "type": "boolean"
3907
- },
3908
- "detached": {
3909
- "char": "d",
3910
- "description": "When pushing to the cloud, this option will cause the build to start, then\nreturn execution back to the shell, with the status and release ID (if\napplicable). When pushing to a local mode device, this option will cause\nthe command to not tail logs when the build has completed.",
3911
- "name": "detached",
3912
- "allowNo": false,
3913
- "type": "boolean"
3914
- },
3915
- "service": {
3916
- "description": "Reject logs not originating from this service.\nThis can be used in combination with --system and other --service flags.\nOnly valid when pushing to a local mode device.",
3917
- "name": "service",
3918
- "hasDynamicHelp": false,
3919
- "multiple": true,
3920
- "type": "option"
3921
- },
3922
- "system": {
3923
- "description": "Only show system logs. This can be used in combination with --service.\nOnly valid when pushing to a local mode device.",
3924
- "name": "system",
3925
- "allowNo": false,
3926
- "type": "boolean"
3927
- },
3928
- "env": {
3929
- "description": "When performing a push to device, run the built containers with environment\nvariables provided with this argument. Environment variables can be applied\nto individual services by adding their service name before the argument,\nseparated by a colon, e.g:\n\t--env main:MY_ENV=value\nNote that if the service name cannot be found in the composition, the entire\nleft hand side of the = character will be treated as the variable name.",
3930
- "name": "env",
3931
- "hasDynamicHelp": false,
3932
- "multiple": true,
3933
- "type": "option"
3934
- },
3935
- "noconvert-eol": {
3936
- "description": "Don't convert line endings from CRLF (Windows format) to LF (Unix format).",
3937
- "name": "noconvert-eol",
3938
- "allowNo": false,
3939
- "type": "boolean"
3940
- },
3941
- "multi-dockerignore": {
3942
- "char": "m",
3943
- "description": "Have each service use its own .dockerignore file. See \"balena help push\".",
3944
- "name": "multi-dockerignore",
3945
- "allowNo": false,
3946
- "type": "boolean"
3947
- },
3948
- "release-tag": {
3949
- "description": "Set release tags if the image build is successful (balenaCloud only). Multiple\narguments may be provided, alternating tag keys and values (see examples).\nHint: Empty values may be specified with \"\" (bash, cmd.exe) or '\"\"' (PowerShell).",
3950
- "exclusive": [
3951
- "detached"
3952
- ],
3953
- "name": "release-tag",
3912
+ },
3913
+ "drive": {
3914
+ "char": "d",
3915
+ "description": "the drive to write the image to, eg. `/dev/sdb` or `/dev/mmcblk0`.\nCareful with this as you can erase your hard drive.\nCheck `balena util available-drives` for available options.",
3916
+ "name": "drive",
3954
3917
  "hasDynamicHelp": false,
3955
- "multiple": true,
3918
+ "multiple": false,
3956
3919
  "type": "option"
3957
3920
  },
3958
- "draft": {
3959
- "description": "Instruct the builder to create the release as a draft. Draft releases are ignored\nby the 'track latest' release policy but can be used through release pinning.\nDraft releases can be marked as final through the API. Releases are created\nas final by default unless this option is given.",
3960
- "name": "draft",
3921
+ "yes": {
3922
+ "char": "y",
3923
+ "description": "answer \"yes\" to all questions (non interactive use)",
3924
+ "name": "yes",
3925
+ "allowNo": false,
3926
+ "type": "boolean"
3927
+ }
3928
+ },
3929
+ "hasDynamicHelp": false,
3930
+ "hiddenAliases": [],
3931
+ "id": "os:initialize",
3932
+ "pluginAlias": "balena-cli",
3933
+ "pluginName": "balena-cli",
3934
+ "pluginType": "core",
3935
+ "strict": true,
3936
+ "enableJsonFlag": false,
3937
+ "authenticated": true,
3938
+ "isESM": false,
3939
+ "relativePath": [
3940
+ "build",
3941
+ "commands",
3942
+ "os",
3943
+ "initialize.js"
3944
+ ]
3945
+ },
3946
+ "os:versions": {
3947
+ "aliases": [],
3948
+ "args": {
3949
+ "type": {
3950
+ "description": "device type",
3951
+ "name": "type",
3952
+ "required": true
3953
+ }
3954
+ },
3955
+ "description": "Show available balenaOS versions for the given device type.\n\nShow the available balenaOS versions for the given device type.\nCheck available types with `balena device-type list`.\n\nbalenaOS ESR versions can be listed with the '--esr' option. See also:\nhttps://www.balena.io/docs/reference/OS/extended-support-release/",
3956
+ "examples": [
3957
+ "$ balena os versions raspberrypi3"
3958
+ ],
3959
+ "flags": {
3960
+ "esr": {
3961
+ "description": "select balenaOS ESR versions",
3962
+ "name": "esr",
3961
3963
  "allowNo": false,
3962
3964
  "type": "boolean"
3963
3965
  },
3964
- "note": {
3965
- "description": "The notes for this release",
3966
- "name": "note",
3967
- "hasDynamicHelp": false,
3968
- "multiple": false,
3969
- "type": "option"
3966
+ "include-draft": {
3967
+ "description": "include pre-release balenaOS versions",
3968
+ "name": "include-draft",
3969
+ "allowNo": false,
3970
+ "type": "boolean"
3970
3971
  }
3971
3972
  },
3972
3973
  "hasDynamicHelp": false,
3973
3974
  "hiddenAliases": [],
3974
- "id": "push",
3975
+ "id": "os:versions",
3975
3976
  "pluginAlias": "balena-cli",
3976
3977
  "pluginName": "balena-cli",
3977
3978
  "pluginType": "core",
3978
3979
  "strict": true,
3979
3980
  "enableJsonFlag": false,
3980
- "primary": true,
3981
3981
  "isESM": false,
3982
3982
  "relativePath": [
3983
3983
  "build",
3984
3984
  "commands",
3985
- "push",
3986
- "index.js"
3985
+ "os",
3986
+ "versions.js"
3987
3987
  ]
3988
3988
  },
3989
3989
  "release:finalize": {
@@ -4173,6 +4173,30 @@
4173
4173
  "validate.js"
4174
4174
  ]
4175
4175
  },
4176
+ "settings": {
4177
+ "aliases": [],
4178
+ "args": {},
4179
+ "description": "Print current settings.\n\nUse this command to display the current balena CLI settings.",
4180
+ "examples": [
4181
+ "$ balena settings"
4182
+ ],
4183
+ "flags": {},
4184
+ "hasDynamicHelp": false,
4185
+ "hiddenAliases": [],
4186
+ "id": "settings",
4187
+ "pluginAlias": "balena-cli",
4188
+ "pluginName": "balena-cli",
4189
+ "pluginType": "core",
4190
+ "strict": true,
4191
+ "enableJsonFlag": false,
4192
+ "isESM": false,
4193
+ "relativePath": [
4194
+ "build",
4195
+ "commands",
4196
+ "settings",
4197
+ "index.js"
4198
+ ]
4199
+ },
4176
4200
  "release-asset:delete": {
4177
4201
  "aliases": [],
4178
4202
  "args": {
@@ -4389,27 +4413,64 @@
4389
4413
  "upload.js"
4390
4414
  ]
4391
4415
  },
4392
- "settings": {
4416
+ "support": {
4393
4417
  "aliases": [],
4394
- "args": {},
4395
- "description": "Print current settings.\n\nUse this command to display the current balena CLI settings.",
4418
+ "args": {
4419
+ "action": {
4420
+ "description": "enable|disable support access",
4421
+ "name": "action",
4422
+ "options": [
4423
+ "enable",
4424
+ "disable"
4425
+ ]
4426
+ }
4427
+ },
4428
+ "description": "Grant or revoke support access for devices or fleets.\n\nGrant or revoke balena support agent access to devices or fleets\non balenaCloud. (This command does not apply to openBalena.)\nAccess will be automatically revoked once the specified duration has elapsed.\n\nDuration defaults to 24h, but can be specified using --duration flag in days\nor hours, e.g. '12h', '2d'.\n\nBoth --device and --fleet flags accept multiple values, specified as\na comma-separated list (with no spaces).\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).",
4396
4429
  "examples": [
4397
- "$ balena settings"
4430
+ "balena support enable --device ab346f,cd457a --duration 3d",
4431
+ "balena support enable --fleet myFleet --duration 12h",
4432
+ "balena support disable -f myorg/myfleet"
4398
4433
  ],
4399
- "flags": {},
4434
+ "flags": {
4435
+ "device": {
4436
+ "char": "d",
4437
+ "description": "comma-separated list (no spaces) of device UUIDs",
4438
+ "name": "device",
4439
+ "hasDynamicHelp": false,
4440
+ "multiple": false,
4441
+ "type": "option"
4442
+ },
4443
+ "fleet": {
4444
+ "char": "f",
4445
+ "description": "comma-separated list (no spaces) of fleet names or slugs (preferred)",
4446
+ "name": "fleet",
4447
+ "hasDynamicHelp": false,
4448
+ "multiple": false,
4449
+ "type": "option"
4450
+ },
4451
+ "duration": {
4452
+ "char": "t",
4453
+ "description": "length of time to enable support for, in (h)ours or (d)ays, e.g. 12h, 2d",
4454
+ "name": "duration",
4455
+ "hasDynamicHelp": false,
4456
+ "multiple": false,
4457
+ "type": "option"
4458
+ }
4459
+ },
4400
4460
  "hasDynamicHelp": false,
4401
4461
  "hiddenAliases": [],
4402
- "id": "settings",
4462
+ "id": "support",
4403
4463
  "pluginAlias": "balena-cli",
4404
4464
  "pluginName": "balena-cli",
4405
4465
  "pluginType": "core",
4406
4466
  "strict": true,
4407
4467
  "enableJsonFlag": false,
4468
+ "authenticated": true,
4408
4469
  "isESM": false,
4409
4470
  "relativePath": [
4410
4471
  "build",
4411
4472
  "commands",
4412
- "settings",
4473
+ "support",
4413
4474
  "index.js"
4414
4475
  ]
4415
4476
  },
@@ -4561,67 +4622,6 @@
4561
4622
  "rm.js"
4562
4623
  ]
4563
4624
  },
4564
- "support": {
4565
- "aliases": [],
4566
- "args": {
4567
- "action": {
4568
- "description": "enable|disable support access",
4569
- "name": "action",
4570
- "options": [
4571
- "enable",
4572
- "disable"
4573
- ]
4574
- }
4575
- },
4576
- "description": "Grant or revoke support access for devices or fleets.\n\nGrant or revoke balena support agent access to devices or fleets\non balenaCloud. (This command does not apply to openBalena.)\nAccess will be automatically revoked once the specified duration has elapsed.\n\nDuration defaults to 24h, but can be specified using --duration flag in days\nor hours, e.g. '12h', '2d'.\n\nBoth --device and --fleet flags accept multiple values, specified as\na comma-separated list (with no spaces).\n\nFleets may be specified by fleet name or slug. Fleet slugs are\nthe recommended option, as they are unique and unambiguous. Slugs can be\nlisted with the `balena fleet list` command. Note that slugs may change if the\nfleet is renamed. Fleet names are not unique and may result in \"Fleet is\nambiguous\" errors at any time (even if it \"used to work in the past\"), for\nexample if the name clashes with a newly created public fleet, or with fleets\nfrom other balena accounts that you may be invited to join under any role.\nFor this reason, fleet names are especially discouraged in scripts (e.g. CI\nenvironments).",
4577
- "examples": [
4578
- "balena support enable --device ab346f,cd457a --duration 3d",
4579
- "balena support enable --fleet myFleet --duration 12h",
4580
- "balena support disable -f myorg/myfleet"
4581
- ],
4582
- "flags": {
4583
- "device": {
4584
- "char": "d",
4585
- "description": "comma-separated list (no spaces) of device UUIDs",
4586
- "name": "device",
4587
- "hasDynamicHelp": false,
4588
- "multiple": false,
4589
- "type": "option"
4590
- },
4591
- "fleet": {
4592
- "char": "f",
4593
- "description": "comma-separated list (no spaces) of fleet names or slugs (preferred)",
4594
- "name": "fleet",
4595
- "hasDynamicHelp": false,
4596
- "multiple": false,
4597
- "type": "option"
4598
- },
4599
- "duration": {
4600
- "char": "t",
4601
- "description": "length of time to enable support for, in (h)ours or (d)ays, e.g. 12h, 2d",
4602
- "name": "duration",
4603
- "hasDynamicHelp": false,
4604
- "multiple": false,
4605
- "type": "option"
4606
- }
4607
- },
4608
- "hasDynamicHelp": false,
4609
- "hiddenAliases": [],
4610
- "id": "support",
4611
- "pluginAlias": "balena-cli",
4612
- "pluginName": "balena-cli",
4613
- "pluginType": "core",
4614
- "strict": true,
4615
- "enableJsonFlag": false,
4616
- "authenticated": true,
4617
- "isESM": false,
4618
- "relativePath": [
4619
- "build",
4620
- "commands",
4621
- "support",
4622
- "index.js"
4623
- ]
4624
- },
4625
4625
  "tag:list": {
4626
4626
  "aliases": [
4627
4627
  "tags"
@@ -4867,31 +4867,6 @@
4867
4867
  "available-drives.js"
4868
4868
  ]
4869
4869
  },
4870
- "whoami": {
4871
- "aliases": [],
4872
- "args": {},
4873
- "description": "Display account information for current user.\n\nGet the username and email address of the currently logged in user.",
4874
- "examples": [
4875
- "$ balena whoami"
4876
- ],
4877
- "flags": {},
4878
- "hasDynamicHelp": false,
4879
- "hiddenAliases": [],
4880
- "id": "whoami",
4881
- "pluginAlias": "balena-cli",
4882
- "pluginName": "balena-cli",
4883
- "pluginType": "core",
4884
- "strict": true,
4885
- "enableJsonFlag": false,
4886
- "authenticated": true,
4887
- "isESM": false,
4888
- "relativePath": [
4889
- "build",
4890
- "commands",
4891
- "whoami",
4892
- "index.js"
4893
- ]
4894
- },
4895
4870
  "version": {
4896
4871
  "aliases": [],
4897
4872
  "args": {},
@@ -4935,6 +4910,31 @@
4935
4910
  "version",
4936
4911
  "index.js"
4937
4912
  ]
4913
+ },
4914
+ "whoami": {
4915
+ "aliases": [],
4916
+ "args": {},
4917
+ "description": "Display account information for current user.\n\nGet the username and email address of the currently logged in user.",
4918
+ "examples": [
4919
+ "$ balena whoami"
4920
+ ],
4921
+ "flags": {},
4922
+ "hasDynamicHelp": false,
4923
+ "hiddenAliases": [],
4924
+ "id": "whoami",
4925
+ "pluginAlias": "balena-cli",
4926
+ "pluginName": "balena-cli",
4927
+ "pluginType": "core",
4928
+ "strict": true,
4929
+ "enableJsonFlag": false,
4930
+ "authenticated": true,
4931
+ "isESM": false,
4932
+ "relativePath": [
4933
+ "build",
4934
+ "commands",
4935
+ "whoami",
4936
+ "index.js"
4937
+ ]
4938
4938
  }
4939
4939
  },
4940
4940
  "version": "22.5.6"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "balena-cli",
3
- "version": "22.5.6-build-renovate-aws-actions-configure-aws-credentials-5-x-2944b39b3867a1dd0a575c51dd232c6fea70e9fb-1",
3
+ "version": "22.5.6-build-renovate-apple-actions-import-codesign-certs-3-x-a0d90954ca5b70af4b7cd88fbe1e09db72dee7fb-1",
4
4
  "description": "The official balena Command Line Interface",
5
5
  "main": "./build/app.js",
6
6
  "homepage": "https://github.com/balena-io/balena-cli",
@@ -259,6 +259,6 @@
259
259
  "balena-request": "14.0.6"
260
260
  },
261
261
  "versionist": {
262
- "publishedAt": "2025-11-14T16:05:10.819Z"
262
+ "publishedAt": "2025-11-14T15:57:58.127Z"
263
263
  }
264
264
  }