cli/cmd
Mike Degatano f75cbc5074
Centralize error handling and add 503 support (#504)
* Centralize error handling and add 503 support

* Add 403 forbidden support

* Output status code when no json
2024-08-20 16:48:12 +02:00
..
addons.go Completion improvements (#359) 2022-08-23 16:11:51 +02:00
addons_changelog.go Completion improvements (#359) 2022-08-23 16:11:51 +02:00
addons_info.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
addons_install.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
addons_logs.go Add flags for handling features of advanced logs (#471) 2024-04-12 15:14:45 +02:00
addons_rebuild.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
addons_restart.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
addons_start.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
addons_stats.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
addons_stop.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
addons_uninstall.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
addons_update.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
audio.go audio: remove trailing " from help example (#314) 2021-10-31 22:11:28 +01:00
audio_default.go Add audio support (#205) 2020-03-03 22:43:33 +01:00
audio_default_input.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
audio_default_output.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
audio_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
audio_logs.go Add flags for handling features of advanced logs (#471) 2024-04-12 15:14:45 +02:00
audio_profile.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
audio_reload.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
audio_restart.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
audio_stats.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
audio_update.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
audio_volume.go More linting, address findings, config improvements (#448) 2024-02-13 11:21:55 +01:00
audio_volume_input.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
audio_volume_output.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
auth.go Add Home Assistant password reset commands (#199) 2020-02-07 14:11:54 +01:00
auth_cache.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
auth_list.go Allow listing of HA users via admin CLI (#462) 2024-03-01 15:35:41 +01:00
auth_reset.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
available_updates.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
backups.go Add backup location support and completions (#399) 2023-05-21 15:11:26 +02:00
backups_freeze.go Add freeze/thaw apis to cli (#422) 2023-09-13 08:47:53 +02:00
backups_info.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
backups_new.go Fix a misnamed `homeassistant-exclude-database`, see #457 (#459) 2024-02-14 10:16:57 +01:00
backups_options.go Fixes a misnamed "days_until_stale" in backup options. (#458) 2024-02-13 11:24:01 +01:00
backups_reload.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
backups_remove.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
backups_restore.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
backups_thaw.go Add freeze/thaw apis to cli (#422) 2023-09-13 08:47:53 +02:00
banner.go Update banner with new ascii logo (#466) 2024-03-04 22:49:07 +01:00
cli.go Add new CLI functions (#218) 2020-03-29 14:42:19 +02:00
cli_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
cli_stats.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
cli_update.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
core.go Update version sample to a stable version (#323) 2021-12-05 17:03:08 +01:00
core_check.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
core_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
core_logs.go Add flags for handling features of advanced logs (#471) 2024-04-12 15:14:45 +02:00
core_options.go More linting, address findings, config improvements (#448) 2024-02-13 11:21:55 +01:00
core_rebuild.go Add force options to commands restricted during migrations (#502) 2024-08-05 09:50:13 +02:00
core_restart.go Add force options to commands restricted during migrations (#502) 2024-08-05 09:50:13 +02:00
core_start.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
core_stats.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
core_stop.go Add force options to commands restricted during migrations (#502) 2024-08-05 09:50:13 +02:00
core_update.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
dns.go Rebranding to Home Assistant CLI (#195) 2020-02-07 13:03:53 +01:00
dns_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
dns_logs.go Add flags for handling features of advanced logs (#471) 2024-04-12 15:14:45 +02:00
dns_options.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
dns_reset.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
dns_restart.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
dns_stats.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
dns_update.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
docker.go Add support for new docker commands (#244) 2020-10-07 11:35:48 +02:00
docker_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
docker_registries.go Add base URL implicitly (#318) 2021-12-28 11:16:01 +01:00
docker_registries_add.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
docker_registries_delete.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
hardware.go Rebranding to Home Assistant CLI (#195) 2020-02-07 13:03:53 +01:00
hardware_audio.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
hardware_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
host.go Fix number of lines argument (#481) 2024-05-02 09:54:34 +02:00
host_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
host_logs.go Fix host logs follow mode with identifier specified (#493) 2024-05-29 08:33:53 +02:00
host_logs_boots.go Add flags for handling features of advanced logs (#471) 2024-04-12 15:14:45 +02:00
host_logs_identifiers.go Configure golangci-lint using config file, enable some more linters (#437) 2023-11-06 12:27:17 +01:00
host_options.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
host_reboot.go Add force options to commands restricted during migrations (#502) 2024-08-05 09:50:13 +02:00
host_reload.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
host_shutdown.go Add force options to commands restricted during migrations (#502) 2024-08-05 09:50:13 +02:00
info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
jobs.go Add support for first jobs API (#263) 2020-11-24 10:56:01 +01:00
jobs_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
jobs_options.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
jobs_reset.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
mounts.go Remove shorthand for read-only mounts (#461) 2024-02-20 20:11:59 -05:00
mounts_add.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
mounts_delete.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
mounts_info.go Fix double h shorthand (#398) 2023-05-12 14:53:43 -04:00
mounts_options.go Add backup location support and completions (#399) 2023-05-21 15:11:26 +02:00
mounts_reload.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
mounts_update.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
multicast.go Add Multicast support (#223) 2020-04-07 22:20:12 +02:00
multicast_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
multicast_logs.go Add flags for handling features of advanced logs (#471) 2024-04-12 15:14:45 +02:00
multicast_restart.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
multicast_stats.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
multicast_update.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
network.go Completion improvements (#359) 2022-08-23 16:11:51 +02:00
network_info.go Completion improvements (#359) 2022-08-23 16:11:51 +02:00
network_reload.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
network_scan.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
network_update.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
network_vlan.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
observer.go Add observer commands (#240) 2020-09-12 23:01:19 +02:00
observer_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
observer_stats.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
observer_update.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
os.go Allow changing the boot slot via cli (#469) 2024-04-04 08:48:50 +02:00
os_boards.go Add boards commds (#373) 2022-11-08 09:31:11 +01:00
os_boards_green.go Add CLI support for new Green LED APIs (#423) 2023-09-29 10:53:17 +02:00
os_boards_green_options.go More linting, address findings, config improvements (#448) 2024-02-13 11:21:55 +01:00
os_boards_yellow.go Add boards commds (#373) 2022-11-08 09:31:11 +01:00
os_boards_yellow_options.go More linting, address findings, config improvements (#448) 2024-02-13 11:21:55 +01:00
os_boot_slot.go Allow changing the boot slot via cli (#469) 2024-04-04 08:48:50 +02:00
os_datadisk.go Add datadisk commands (#310) 2021-09-22 13:25:55 +02:00
os_datadisk_list.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
os_datadisk_move.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
os_datadisk_wipe.go Add device wipe command to CLI (#464) 2024-03-01 10:59:16 -05:00
os_import.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
os_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
os_update.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
refresh_updates.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
resolution.go Add resolution support CLI (#247) 2020-10-17 13:11:23 +02:00
resolution_check.go Add more completions (#369) 2022-10-21 17:54:07 +02:00
resolution_check_options.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
resolution_check_run.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
resolution_healthcheck.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
resolution_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
resolution_issue.go Add more completions (#369) 2022-10-21 17:54:07 +02:00
resolution_issue_dismiss.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
resolution_issue_suggestions.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
resolution_suggestion.go Add more completions (#369) 2022-10-21 17:54:07 +02:00
resolution_suggestion_apply.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
resolution_suggestion_dismiss.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
root.go Add codespell action (#438) 2023-11-04 13:13:28 +01:00
security.go Implement security cmd offload (#306) 2021-08-24 14:45:06 +02:00
security_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
security_integrity.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
security_options.go More linting, address findings, config improvements (#448) 2024-02-13 11:21:55 +01:00
store.go Fix typo (#424) 2023-09-19 10:26:11 +02:00
store_addons.go Completion improvements (#359) 2022-08-23 16:11:51 +02:00
store_addons_install.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
store_addons_update.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
store_reload.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
store_repositories_add.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
store_repositories_delete.go Centralize error handling and add 503 support (#504) 2024-08-20 16:48:12 +02:00
supervisor.go Rebranding to Home Assistant CLI (#195) 2020-02-07 13:03:53 +01:00
supervisor_available_updates.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
supervisor_info.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
supervisor_logs.go Add flags for handling features of advanced logs (#471) 2024-04-12 15:14:45 +02:00
supervisor_options.go More linting, address findings, config improvements (#448) 2024-02-13 11:21:55 +01:00
supervisor_reload.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
supervisor_repair.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
supervisor_restart.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
supervisor_stats.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00
supervisor_update.go Argument handling and completion improvements (#354) 2022-08-16 09:08:22 +02:00