From 0a7a02ade1b97af049c84e3eda05535e5214dab0 Mon Sep 17 00:00:00 2001
From: Paulus Schoutsen
Date: Thu, 26 Jul 2018 12:57:25 +0200
Subject: [PATCH] Extract hass.io command line
---
.../_includes/asides/hassio_navigation.html | 1 +
source/hassio/commandline.markdown | 77 +++++++++++++++++++
source/hassio/index.markdown | 68 ----------------
3 files changed, 78 insertions(+), 68 deletions(-)
create mode 100644 source/hassio/commandline.markdown
diff --git a/source/_includes/asides/hassio_navigation.html b/source/_includes/asides/hassio_navigation.html
index d29e2ac6089..6c42ff0ca6d 100644
--- a/source/_includes/asides/hassio_navigation.html
+++ b/source/_includes/asides/hassio_navigation.html
@@ -15,6 +15,7 @@
Advanced
-
-
-Hass.io upgrade process from the SSH command line
-
[Google Assistant]: /addons/google_assistant/
[Snips.ai]: /addons/snips/
@@ -54,67 +50,3 @@ Hass.io upgrade process from the SSH command line
[HassOS]: https://github.com/home-assistant/hassos
[Docker]: https://www.docker.com/
[install]: /hassio/installation/
-
-## {% linkable_title hassio command %}
-
-On the SSH command line, you can use the `hassio` command to retrieve logs, check the details of connected hardware, and more.
-
-Home Assistant:
-
-```bash
-$ hassio homeassistant logs
-$ hassio homeassistant restart
-$ hassio homeassistant stop
-$ hassio homeassistant start
-$ hassio homeassistant update
-$ hassio homeassistant check
-```
-
-Host:
-
-```bash
-$ hassio host hardware
-$ hassio host reboot
-$ hassio host shutdown
-$ hassio host update
-```
-
-Supervisor
-
-```bash
-$ hassio supervisor logs
-$ hassio supervisor info
-$ hassio supervisor reload
-$ hassio supervisor update
-```
-
-You can get a better description of the CLI capabilities by typing `hassio help`:
-
-```bash
-NAME:
- hassio - Commandline tool to allow interaction with hass.io
-
-USAGE:
- hassio [global options] command [command options] [arguments...]
-
-VERSION:
- 1.2.1
-
-AUTHOR:
- Home-Assistant
-
-COMMANDS:
- homeassistant, ha info, logs, check, restart, start, stop, update
- supervisor, su info, logs, reload, update
- host, ho hardware, reboot, shutdown, update
- network, ne info, options
- snapshots, sn list, info, reload, new, restore, remove
- addons, ad list, info, logo, changelog, logs, stats,
- reload, start, stop, install, uninstall, update
- help, h Shows a list of commands or help for one command
-
-GLOBAL OPTIONS:
- --debug, -d Prints Debug information
- --help, -h show help
- --version, -v print the version
-```