Tags: home-assistant/cli
Tags
Add Raspberry Pi firmware info/update commands (#658) * Add Raspberry Pi firmware info/update commands Add commands for CLI operations for retrieving the firmware update status and updating the EEPROM bootloader. Uses API added in Supervisor in home-assistant/supervisor#6886. The `ha os boards raspberrypi firmware` commands returns the raw API response with bootloader version humanized (using the same translation that Core uses in home-assistant/core#172929), the `... update` command first checks the API if the update can be applied and then installs it, prompting the user to reboot the device afterwards. * Match the aborted confirmation pattern with other commands
Add --feature-flag option to supervisor options command (#649) * Add --feature-flag option to supervisor options command Allows users to enable/disable development feature flags via: ha supervisor options --feature-flag supervisor_v2_api=true ha supervisor options --feature-flag supervisor_v2_api (defaults to true) ha supervisor options --feature-flag supervisor_v2_api=false Multiple flags can be set by repeating the argument. Tab completion calls /supervisor/info and suggests each flag with its opposite value (e.g. supervisor_v2_api=true when currently false). Related: home-assistant/supervisor#6719 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Format file * Update cmd/supervisor_options.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Stefan Agner <stefan@agner.ch> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Bump golang.org/x/term from 0.40.0 to 0.41.0 (#639) Bumps [golang.org/x/term](https://github.com/golang/term) from 0.40.0 to 0.41.0. - [Commits](golang/term@v0.40.0...v0.41.0) --- updated-dependencies: - dependency-name: golang.org/x/term dependency-version: 0.41.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Rename add-ons to apps with deprecated backward compatibility (#627) * Rename add-ons to apps with deprecated backward compatibility Rename all occurrences of add-ons and its variations in commands and flags to apps, with old commands/flags still available for backward compatibility. The Supervisor API still uses addons, so these occurrences are kept for now, along with the related variables which process them. When/if this API is changed, we can also rename these. * Change --apps in backups to --app * Improve grammer in backup descriptions Also make first letters caps as it's more common across the repo. * Fix previously present grammar issues highlighted in PR * Fix the missed apps->app changes
Remove `overlay2` from completion in `docker migrate-storage-driver` (#… …617) This is removed from API in home-assistant/supervisor#6399 and from the OS agent in home-assistant/os-agent#245.
Add `docker migrate-storage-driver` command (#613) * Add `docker migrate-storage-driver` command Implement CLI for home-assistant/supervisor#6361. Without any extra argument, the command migrates to the overlayfs Containerd snapshotter, but the driver can be specified and will be validated by the Supervisor API - no need for another validation layer here. The list of driver is only used for shell completion. * Add more details to the confirmation prompt
Bump golang.org/x/term from 0.34.0 to 0.35.0 (#597) Bumps [golang.org/x/term](https://github.com/golang/term) from 0.34.0 to 0.35.0. - [Commits](golang/term@v0.34.0...v0.35.0) --- updated-dependencies: - dependency-name: golang.org/x/term dependency-version: 0.35.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext