From 9b1eb57973e2b858e7c5042623bec78feaa9a0b4 Mon Sep 17 00:00:00 2001 From: myarmolinsky Date: Mon, 21 Oct 2024 08:52:16 -0400 Subject: [PATCH] Update help.spec per recent help output change --- tests/commands/help.spec.ts | 84 ++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/tests/commands/help.spec.ts b/tests/commands/help.spec.ts index e1978bd7..5e985e40 100644 --- a/tests/commands/help.spec.ts +++ b/tests/commands/help.spec.ts @@ -27,65 +27,65 @@ $ balena [COMMAND] [OPTIONS] PRIMARY COMMANDS login login to balena - push start a remote build on the balenaCloud build servers or a local mode device - app display information about a single application - device show info about a single device - tunnel tunnel local ports to your balenaOS device - preload preload an app on a disk image (or Edison zip archive) - build [source] build a project locally - deploy [image] deploy a single image or a multicontainer project to a balena application - join [deviceIpOrHostname] move a local device to an application on another balena server - leave [deviceIpOrHostname] remove a local device from its balena application + push start a remote build on the balenaCloud build servers or a local mode device + app display information about a single application + device show info about a single device + tunnel tunnel local ports to your balenaOS device + preload preload an app on a disk image (or Edison zip archive) + build build a project locally + deploy deploy a single image or a multicontainer project to a balena application + join move a local device to an application on another balena server + leave remove a local device from its balena application `; const ADDITIONAL_HELP = ` ADDITIONAL COMMANDS - api-key generate generate a new balenaCloud API key - app create create an application - app restart restart an application - app rm remove an application + api-key generate generate a new balenaCloud API key + app create create an application + app restart restart an application + app rm remove an application config generate generate a config.json file - config inject inject a configuration file into a device or OS image + config inject inject a configuration file into a device or OS image config read read the configuration of a device or OS image config reconfigure interactively reconfigure a device or OS image - config write write a key-value pair to configuration of a device or OS image + config write write a key-value pair to configuration of a device or OS image device detect scan for balenaOS devices on your local network - device identify identify a device + device identify identify a device device init initialise a device with balenaOS device list list all devices - device logs show device logs - device move move one or more devices to another application - device os-update start a Host OS update for a device - device public-url get or manage the public URL for a device - device reboot restart a device - device register register a device - device rename [newName] rename a device - device rm remove one or more devices - device shutdown shutdown a device - device ssh [service] SSH into the host or application container of a device + device logs show device logs + device move move one or more devices to another application + device os-update start a Host OS update for a device + device public-url get or manage the public URL for a device + device reboot restart a device + device register register a device + device rename rename a device + device rm remove one or more devices + device shutdown shutdown a device + device ssh SSH into the host or application container of a device devices supported list the supported device types (like 'raspberrypi3' or 'intel-nuc') - env add [value] add env or config variable to application(s), device(s) or service(s) + env add add env or config variable to application(s), device(s) or service(s) env list list the environment or config variables of an application, device or service - env rename change the value of a config or env var for an app, device or service - env rm remove a config or env var from an application, device or service - ssh-key display an SSH key - ssh-key add [path] add an SSH key to balenaCloud + env rename change the value of a config or env var for an app, device or service + env rm remove a config or env var from an application, device or service + ssh-key display an SSH key + ssh-key add add an SSH key to balenaCloud ssh-key list list the SSH keys in balenaCloud - ssh-key rm remove an SSH key from balenaCloud - local configure (Re)configure a balenaOS drive or image - local flash flash an image to a drive + ssh-key rm remove an SSH key from balenaCloud + local configure (Re)configure a balenaOS drive or image + local flash flash an image to a drive logout logout from balena - note <|note> set a device note - os build-config build an OS config and save it to a JSON file - os configure configure a previously downloaded balenaOS image - os download download an unconfigured OS image - os initialize initialize an os image for a device - os versions show available balenaOS versions for the given device type + note set a device note + os build-config build an OS config and save it to a JSON file + os configure configure a previously downloaded balenaOS image + os download download an unconfigured OS image + os initialize initialize an os image for a device + os versions show available balenaOS versions for the given device type settings print current settings tag list list all tags for a app, block, fleet, device or release - tag rm remove a tag from an app, block, fleet, device or release - tag set [value] set a tag on an app, block, fleet, device or release + tag rm remove a tag from an app, block, fleet, device or release + tag set set a tag on an app, block, fleet, device or release util available-drives list available drives version display version information for the balena CLI and/or Node.js whoami display account information for current user