balena-cli 23.2.5-build-update-docker-progress-5-4-0-0b54738143845dbf74923cdc2e017e9290ce0080-1 → 23.2.5-build-update-docker-progress-5-4-0-224a174b777b629fd139c0cd1128c1df40553fb5-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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "balena-cli",
3
- "version": "23.2.5-build-update-docker-progress-5-4-0-0b54738143845dbf74923cdc2e017e9290ce0080-1",
3
+ "version": "23.2.5-build-update-docker-progress-5-4-0-224a174b777b629fd139c0cd1128c1df40553fb5-1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "balena-cli",
9
- "version": "23.2.5-build-update-docker-progress-5-4-0-0b54738143845dbf74923cdc2e017e9290ce0080-1",
9
+ "version": "23.2.5-build-update-docker-progress-5-4-0-224a174b777b629fd139c0cd1128c1df40553fb5-1",
10
10
  "hasInstallScript": true,
11
11
  "license": "Apache-2.0",
12
12
  "dependencies": {
@@ -2537,43 +2537,6 @@
2537
2537
  "set.js"
2538
2538
  ]
2539
2539
  },
2540
- "internal:osinit": {
2541
- "aliases": [],
2542
- "args": {
2543
- "image": {
2544
- "name": "image",
2545
- "required": true
2546
- },
2547
- "type": {
2548
- "name": "type",
2549
- "required": true
2550
- },
2551
- "config": {
2552
- "name": "config",
2553
- "required": true
2554
- }
2555
- },
2556
- "description": "Do actual init of the device with the preconfigured os image.\n\nDon't use this command directly!\nUse `balena os initialize <image>` instead.",
2557
- "flags": {},
2558
- "hasDynamicHelp": false,
2559
- "hidden": true,
2560
- "hiddenAliases": [],
2561
- "id": "internal:osinit",
2562
- "pluginAlias": "balena-cli",
2563
- "pluginName": "balena-cli",
2564
- "pluginType": "core",
2565
- "strict": true,
2566
- "enableJsonFlag": false,
2567
- "root": true,
2568
- "offlineCompatible": true,
2569
- "isESM": false,
2570
- "relativePath": [
2571
- "build",
2572
- "commands",
2573
- "internal",
2574
- "osinit.js"
2575
- ]
2576
- },
2577
2540
  "fleet:create": {
2578
2541
  "aliases": [],
2579
2542
  "args": {
@@ -2916,6 +2879,43 @@
2916
2879
  "track-latest.js"
2917
2880
  ]
2918
2881
  },
2882
+ "internal:osinit": {
2883
+ "aliases": [],
2884
+ "args": {
2885
+ "image": {
2886
+ "name": "image",
2887
+ "required": true
2888
+ },
2889
+ "type": {
2890
+ "name": "type",
2891
+ "required": true
2892
+ },
2893
+ "config": {
2894
+ "name": "config",
2895
+ "required": true
2896
+ }
2897
+ },
2898
+ "description": "Do actual init of the device with the preconfigured os image.\n\nDon't use this command directly!\nUse `balena os initialize <image>` instead.",
2899
+ "flags": {},
2900
+ "hasDynamicHelp": false,
2901
+ "hidden": true,
2902
+ "hiddenAliases": [],
2903
+ "id": "internal:osinit",
2904
+ "pluginAlias": "balena-cli",
2905
+ "pluginName": "balena-cli",
2906
+ "pluginType": "core",
2907
+ "strict": true,
2908
+ "enableJsonFlag": false,
2909
+ "root": true,
2910
+ "offlineCompatible": true,
2911
+ "isESM": false,
2912
+ "relativePath": [
2913
+ "build",
2914
+ "commands",
2915
+ "internal",
2916
+ "osinit.js"
2917
+ ]
2918
+ },
2919
2919
  "join": {
2920
2920
  "aliases": [],
2921
2921
  "args": {
@@ -3209,6 +3209,31 @@
3209
3209
  "index.js"
3210
3210
  ]
3211
3211
  },
3212
+ "organization:list": {
3213
+ "aliases": [],
3214
+ "args": {},
3215
+ "description": "List all organizations.\n\nlist all the organizations that you are a member of.",
3216
+ "examples": [
3217
+ "$ balena organization list"
3218
+ ],
3219
+ "flags": {},
3220
+ "hasDynamicHelp": false,
3221
+ "hiddenAliases": [],
3222
+ "id": "organization:list",
3223
+ "pluginAlias": "balena-cli",
3224
+ "pluginName": "balena-cli",
3225
+ "pluginType": "core",
3226
+ "strict": true,
3227
+ "enableJsonFlag": false,
3228
+ "authenticated": true,
3229
+ "isESM": false,
3230
+ "relativePath": [
3231
+ "build",
3232
+ "commands",
3233
+ "organization",
3234
+ "list.js"
3235
+ ]
3236
+ },
3212
3237
  "logout": {
3213
3238
  "aliases": [],
3214
3239
  "args": {},
@@ -3233,29 +3258,134 @@
3233
3258
  "index.js"
3234
3259
  ]
3235
3260
  },
3236
- "organization:list": {
3261
+ "preload": {
3237
3262
  "aliases": [],
3238
- "args": {},
3239
- "description": "List all organizations.\n\nlist all the organizations that you are a member of.",
3263
+ "args": {
3264
+ "image": {
3265
+ "description": "the image file path",
3266
+ "name": "image",
3267
+ "required": true
3268
+ }
3269
+ },
3270
+ "description": "Preload a release on a disk image (or Edison zip archive).\n\nPreload a release (service images/containers) from a balena fleet, and optionally\na balenaOS splash screen, in a previously downloaded '.img' balenaOS image file\nin the local disk (a zip file is only accepted for the Intel Edison device type).\nAfter preloading, the balenaOS image file can be flashed to a device's SD card.\nWhen the device boots, it will not need to download the release, as it was\npreloaded. This is usually combined with release pinning\n(https://www.balena.io/docs/learn/deploy/release-strategy/release-policy/)\nto avoid the device downloading a newer release straight away, if available.\nCheck also the Preloading and Preregistering section of the balena CLI's advanced\nmasterclass document:\nhttps://www.balena.io/docs/learn/more/masterclasses/advanced-cli/#5-preloading-and-preregistering\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).\n\nNote that the this command requires Docker to be installed, as further detailed\nin the balena CLI's installation instructions:\nhttps://github.com/balena-io/balena-cli/blob/master/INSTALL.md\nThe `--dockerHost` and `--dockerPort` flags allow a remote Docker engine to\nbe used, however the image file must be accessible to the remote Docker engine\non the same path given on the command line. This is because Docker's bind mount\nfeature is used to \"share\" the image with a container that performs the preload.",
3240
3271
  "examples": [
3241
- "$ balena organization list"
3272
+ "$ balena preload balena.img --fleet MyFleet --commit e1f2592fc6ee949e68756d4f4a48e49bff8d72a0",
3273
+ "$ balena preload balena.img --fleet myorg/myfleet --splash-image image.png",
3274
+ "$ balena preload balena.img"
3242
3275
  ],
3243
- "flags": {},
3276
+ "flags": {
3277
+ "fleet": {
3278
+ "char": "f",
3279
+ "description": "fleet name or slug (preferred)",
3280
+ "name": "fleet",
3281
+ "hasDynamicHelp": false,
3282
+ "multiple": false,
3283
+ "type": "option"
3284
+ },
3285
+ "commit": {
3286
+ "char": "c",
3287
+ "description": "The commit hash of the release to preload. Use \"current\" to specify the current\nrelease (ignored if no appId is given). The current release is usually also the\nlatest, but can be pinned to a specific release. See:\nhttps://www.balena.io/docs/learn/deploy/release-strategy/release-policy/\nhttps://www.balena.io/docs/learn/more/masterclasses/fleet-management/#63-pin-using-the-api\nhttps://github.com/balena-io-examples/staged-releases",
3288
+ "name": "commit",
3289
+ "hasDynamicHelp": false,
3290
+ "multiple": false,
3291
+ "type": "option"
3292
+ },
3293
+ "splash-image": {
3294
+ "char": "s",
3295
+ "description": "path to a png image to replace the splash screen",
3296
+ "name": "splash-image",
3297
+ "hasDynamicHelp": false,
3298
+ "multiple": false,
3299
+ "type": "option"
3300
+ },
3301
+ "dont-check-arch": {
3302
+ "description": "disable architecture compatibility check between image and fleet",
3303
+ "name": "dont-check-arch",
3304
+ "allowNo": false,
3305
+ "type": "boolean"
3306
+ },
3307
+ "pin-device-to-release": {
3308
+ "char": "p",
3309
+ "description": "pin the preloaded device to the preloaded release on provision",
3310
+ "name": "pin-device-to-release",
3311
+ "allowNo": true,
3312
+ "type": "boolean"
3313
+ },
3314
+ "additional-space": {
3315
+ "description": "expand the image by this amount of bytes instead of automatically estimating the required amount",
3316
+ "name": "additional-space",
3317
+ "hasDynamicHelp": false,
3318
+ "multiple": false,
3319
+ "type": "option"
3320
+ },
3321
+ "add-certificate": {
3322
+ "description": "Add the given certificate (in PEM format) to /etc/ssl/certs in the preloading container.\nThe file name must end with '.crt' and must not be already contained in the preloader's\n/etc/ssl/certs folder.\nCan be repeated to add multiple certificates.",
3323
+ "name": "add-certificate",
3324
+ "hasDynamicHelp": false,
3325
+ "multiple": true,
3326
+ "type": "option"
3327
+ },
3328
+ "docker": {
3329
+ "char": "P",
3330
+ "description": "Path to a local docker socket (e.g. /var/run/docker.sock)",
3331
+ "name": "docker",
3332
+ "hasDynamicHelp": false,
3333
+ "multiple": false,
3334
+ "type": "option"
3335
+ },
3336
+ "dockerHost": {
3337
+ "char": "h",
3338
+ "description": "Docker daemon hostname or IP address (dev machine or balena device) ",
3339
+ "name": "dockerHost",
3340
+ "hasDynamicHelp": false,
3341
+ "multiple": false,
3342
+ "type": "option"
3343
+ },
3344
+ "dockerPort": {
3345
+ "description": "Docker daemon TCP port number (hint: 2375 for balena devices)",
3346
+ "name": "dockerPort",
3347
+ "hasDynamicHelp": false,
3348
+ "multiple": false,
3349
+ "type": "option"
3350
+ },
3351
+ "ca": {
3352
+ "description": "Docker host TLS certificate authority file",
3353
+ "name": "ca",
3354
+ "hasDynamicHelp": false,
3355
+ "multiple": false,
3356
+ "type": "option"
3357
+ },
3358
+ "cert": {
3359
+ "description": "Docker host TLS certificate file",
3360
+ "name": "cert",
3361
+ "hasDynamicHelp": false,
3362
+ "multiple": false,
3363
+ "type": "option"
3364
+ },
3365
+ "key": {
3366
+ "description": "Docker host TLS key file",
3367
+ "name": "key",
3368
+ "hasDynamicHelp": false,
3369
+ "multiple": false,
3370
+ "type": "option"
3371
+ }
3372
+ },
3244
3373
  "hasDynamicHelp": false,
3245
3374
  "hiddenAliases": [],
3246
- "id": "organization:list",
3375
+ "id": "preload",
3247
3376
  "pluginAlias": "balena-cli",
3248
3377
  "pluginName": "balena-cli",
3249
3378
  "pluginType": "core",
3250
3379
  "strict": true,
3251
3380
  "enableJsonFlag": false,
3252
3381
  "authenticated": true,
3382
+ "primary": true,
3253
3383
  "isESM": false,
3254
3384
  "relativePath": [
3255
3385
  "build",
3256
3386
  "commands",
3257
- "organization",
3258
- "list.js"
3387
+ "preload",
3388
+ "index.js"
3259
3389
  ]
3260
3390
  },
3261
3391
  "os:configure": {
@@ -3597,136 +3727,6 @@
3597
3727
  "versions.js"
3598
3728
  ]
3599
3729
  },
3600
- "preload": {
3601
- "aliases": [],
3602
- "args": {
3603
- "image": {
3604
- "description": "the image file path",
3605
- "name": "image",
3606
- "required": true
3607
- }
3608
- },
3609
- "description": "Preload a release on a disk image (or Edison zip archive).\n\nPreload a release (service images/containers) from a balena fleet, and optionally\na balenaOS splash screen, in a previously downloaded '.img' balenaOS image file\nin the local disk (a zip file is only accepted for the Intel Edison device type).\nAfter preloading, the balenaOS image file can be flashed to a device's SD card.\nWhen the device boots, it will not need to download the release, as it was\npreloaded. This is usually combined with release pinning\n(https://www.balena.io/docs/learn/deploy/release-strategy/release-policy/)\nto avoid the device downloading a newer release straight away, if available.\nCheck also the Preloading and Preregistering section of the balena CLI's advanced\nmasterclass document:\nhttps://www.balena.io/docs/learn/more/masterclasses/advanced-cli/#5-preloading-and-preregistering\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).\n\nNote that the this command requires Docker to be installed, as further detailed\nin the balena CLI's installation instructions:\nhttps://github.com/balena-io/balena-cli/blob/master/INSTALL.md\nThe `--dockerHost` and `--dockerPort` flags allow a remote Docker engine to\nbe used, however the image file must be accessible to the remote Docker engine\non the same path given on the command line. This is because Docker's bind mount\nfeature is used to \"share\" the image with a container that performs the preload.",
3610
- "examples": [
3611
- "$ balena preload balena.img --fleet MyFleet --commit e1f2592fc6ee949e68756d4f4a48e49bff8d72a0",
3612
- "$ balena preload balena.img --fleet myorg/myfleet --splash-image image.png",
3613
- "$ balena preload balena.img"
3614
- ],
3615
- "flags": {
3616
- "fleet": {
3617
- "char": "f",
3618
- "description": "fleet name or slug (preferred)",
3619
- "name": "fleet",
3620
- "hasDynamicHelp": false,
3621
- "multiple": false,
3622
- "type": "option"
3623
- },
3624
- "commit": {
3625
- "char": "c",
3626
- "description": "The commit hash of the release to preload. Use \"current\" to specify the current\nrelease (ignored if no appId is given). The current release is usually also the\nlatest, but can be pinned to a specific release. See:\nhttps://www.balena.io/docs/learn/deploy/release-strategy/release-policy/\nhttps://www.balena.io/docs/learn/more/masterclasses/fleet-management/#63-pin-using-the-api\nhttps://github.com/balena-io-examples/staged-releases",
3627
- "name": "commit",
3628
- "hasDynamicHelp": false,
3629
- "multiple": false,
3630
- "type": "option"
3631
- },
3632
- "splash-image": {
3633
- "char": "s",
3634
- "description": "path to a png image to replace the splash screen",
3635
- "name": "splash-image",
3636
- "hasDynamicHelp": false,
3637
- "multiple": false,
3638
- "type": "option"
3639
- },
3640
- "dont-check-arch": {
3641
- "description": "disable architecture compatibility check between image and fleet",
3642
- "name": "dont-check-arch",
3643
- "allowNo": false,
3644
- "type": "boolean"
3645
- },
3646
- "pin-device-to-release": {
3647
- "char": "p",
3648
- "description": "pin the preloaded device to the preloaded release on provision",
3649
- "name": "pin-device-to-release",
3650
- "allowNo": true,
3651
- "type": "boolean"
3652
- },
3653
- "additional-space": {
3654
- "description": "expand the image by this amount of bytes instead of automatically estimating the required amount",
3655
- "name": "additional-space",
3656
- "hasDynamicHelp": false,
3657
- "multiple": false,
3658
- "type": "option"
3659
- },
3660
- "add-certificate": {
3661
- "description": "Add the given certificate (in PEM format) to /etc/ssl/certs in the preloading container.\nThe file name must end with '.crt' and must not be already contained in the preloader's\n/etc/ssl/certs folder.\nCan be repeated to add multiple certificates.",
3662
- "name": "add-certificate",
3663
- "hasDynamicHelp": false,
3664
- "multiple": true,
3665
- "type": "option"
3666
- },
3667
- "docker": {
3668
- "char": "P",
3669
- "description": "Path to a local docker socket (e.g. /var/run/docker.sock)",
3670
- "name": "docker",
3671
- "hasDynamicHelp": false,
3672
- "multiple": false,
3673
- "type": "option"
3674
- },
3675
- "dockerHost": {
3676
- "char": "h",
3677
- "description": "Docker daemon hostname or IP address (dev machine or balena device) ",
3678
- "name": "dockerHost",
3679
- "hasDynamicHelp": false,
3680
- "multiple": false,
3681
- "type": "option"
3682
- },
3683
- "dockerPort": {
3684
- "description": "Docker daemon TCP port number (hint: 2375 for balena devices)",
3685
- "name": "dockerPort",
3686
- "hasDynamicHelp": false,
3687
- "multiple": false,
3688
- "type": "option"
3689
- },
3690
- "ca": {
3691
- "description": "Docker host TLS certificate authority file",
3692
- "name": "ca",
3693
- "hasDynamicHelp": false,
3694
- "multiple": false,
3695
- "type": "option"
3696
- },
3697
- "cert": {
3698
- "description": "Docker host TLS certificate file",
3699
- "name": "cert",
3700
- "hasDynamicHelp": false,
3701
- "multiple": false,
3702
- "type": "option"
3703
- },
3704
- "key": {
3705
- "description": "Docker host TLS key file",
3706
- "name": "key",
3707
- "hasDynamicHelp": false,
3708
- "multiple": false,
3709
- "type": "option"
3710
- }
3711
- },
3712
- "hasDynamicHelp": false,
3713
- "hiddenAliases": [],
3714
- "id": "preload",
3715
- "pluginAlias": "balena-cli",
3716
- "pluginName": "balena-cli",
3717
- "pluginType": "core",
3718
- "strict": true,
3719
- "enableJsonFlag": false,
3720
- "authenticated": true,
3721
- "primary": true,
3722
- "isESM": false,
3723
- "relativePath": [
3724
- "build",
3725
- "commands",
3726
- "preload",
3727
- "index.js"
3728
- ]
3729
- },
3730
3730
  "push": {
3731
3731
  "aliases": [],
3732
3732
  "args": {
@@ -4074,6 +4074,30 @@
4074
4074
  "validate.js"
4075
4075
  ]
4076
4076
  },
4077
+ "settings": {
4078
+ "aliases": [],
4079
+ "args": {},
4080
+ "description": "Print current settings.\n\nUse this command to display the current balena CLI settings.",
4081
+ "examples": [
4082
+ "$ balena settings"
4083
+ ],
4084
+ "flags": {},
4085
+ "hasDynamicHelp": false,
4086
+ "hiddenAliases": [],
4087
+ "id": "settings",
4088
+ "pluginAlias": "balena-cli",
4089
+ "pluginName": "balena-cli",
4090
+ "pluginType": "core",
4091
+ "strict": true,
4092
+ "enableJsonFlag": false,
4093
+ "isESM": false,
4094
+ "relativePath": [
4095
+ "build",
4096
+ "commands",
4097
+ "settings",
4098
+ "index.js"
4099
+ ]
4100
+ },
4077
4101
  "release-asset:delete": {
4078
4102
  "aliases": [],
4079
4103
  "args": {
@@ -4289,30 +4313,6 @@
4289
4313
  "upload.js"
4290
4314
  ]
4291
4315
  },
4292
- "settings": {
4293
- "aliases": [],
4294
- "args": {},
4295
- "description": "Print current settings.\n\nUse this command to display the current balena CLI settings.",
4296
- "examples": [
4297
- "$ balena settings"
4298
- ],
4299
- "flags": {},
4300
- "hasDynamicHelp": false,
4301
- "hiddenAliases": [],
4302
- "id": "settings",
4303
- "pluginAlias": "balena-cli",
4304
- "pluginName": "balena-cli",
4305
- "pluginType": "core",
4306
- "strict": true,
4307
- "enableJsonFlag": false,
4308
- "isESM": false,
4309
- "relativePath": [
4310
- "build",
4311
- "commands",
4312
- "settings",
4313
- "index.js"
4314
- ]
4315
- },
4316
4316
  "ssh-key:add": {
4317
4317
  "aliases": [],
4318
4318
  "args": {
@@ -4509,6 +4509,28 @@
4509
4509
  "index.js"
4510
4510
  ]
4511
4511
  },
4512
+ "util:available-drives": {
4513
+ "aliases": [],
4514
+ "args": {},
4515
+ "description": "List available drives.\n\nList available drives which are usable for writing an OS image to.\nDoes not list system drives.",
4516
+ "flags": {},
4517
+ "hasDynamicHelp": false,
4518
+ "hiddenAliases": [],
4519
+ "id": "util:available-drives",
4520
+ "pluginAlias": "balena-cli",
4521
+ "pluginName": "balena-cli",
4522
+ "pluginType": "core",
4523
+ "strict": true,
4524
+ "enableJsonFlag": false,
4525
+ "offlineCompatible": true,
4526
+ "isESM": false,
4527
+ "relativePath": [
4528
+ "build",
4529
+ "commands",
4530
+ "util",
4531
+ "available-drives.js"
4532
+ ]
4533
+ },
4512
4534
  "tag:list": {
4513
4535
  "aliases": [],
4514
4536
  "args": {},
@@ -4729,28 +4751,6 @@
4729
4751
  "set.js"
4730
4752
  ]
4731
4753
  },
4732
- "util:available-drives": {
4733
- "aliases": [],
4734
- "args": {},
4735
- "description": "List available drives.\n\nList available drives which are usable for writing an OS image to.\nDoes not list system drives.",
4736
- "flags": {},
4737
- "hasDynamicHelp": false,
4738
- "hiddenAliases": [],
4739
- "id": "util:available-drives",
4740
- "pluginAlias": "balena-cli",
4741
- "pluginName": "balena-cli",
4742
- "pluginType": "core",
4743
- "strict": true,
4744
- "enableJsonFlag": false,
4745
- "offlineCompatible": true,
4746
- "isESM": false,
4747
- "relativePath": [
4748
- "build",
4749
- "commands",
4750
- "util",
4751
- "available-drives.js"
4752
- ]
4753
- },
4754
4754
  "whoami": {
4755
4755
  "aliases": [],
4756
4756
  "args": {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "balena-cli",
3
- "version": "23.2.5-build-update-docker-progress-5-4-0-0b54738143845dbf74923cdc2e017e9290ce0080-1",
3
+ "version": "23.2.5-build-update-docker-progress-5-4-0-224a174b777b629fd139c0cd1128c1df40553fb5-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",
@@ -262,6 +262,6 @@
262
262
  "balena-request": "14.0.6"
263
263
  },
264
264
  "versionist": {
265
- "publishedAt": "2025-12-04T15:26:21.691Z"
265
+ "publishedAt": "2025-12-04T21:39:25.723Z"
266
266
  }
267
267
  }