Add some more documentation around hassio CLI (#5215)

* Add some more documentation around hassio CLI

This is rather basic, I think it needs it's own page

* Minor changes
This commit is contained in:
DK 2018-04-29 02:20:35 -07:00 committed by Fabian Affolter
parent fa028db9d8
commit b50c2fbbb0

View File

@ -59,8 +59,9 @@ Hass.io upgrade process from the SSH command line
On the SSH command line you can use the `hassio` command to retrieve logs, check the details of connected hardware, and more.
HomeAssistant:
```shell
Home Assistant:
```bash
$ hassio homeassistant logs
$ hassio homeassistant restart
$ hassio homeassistant stop
@ -70,7 +71,8 @@ $ hassio homeassistant check
```
Host:
```shell
```bash
$ hassio host hardware
$ hassio host reboot
$ hassio host shutdown
@ -78,9 +80,41 @@ $ hassio host update
```
Supervisor
```shell
```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 interation with hass.io
USAGE:
hassio [global options] command [command options] [arguments...]
VERSION:
1.2.1
AUTHOR:
Home-Assistant <hello@home-assistant.io>
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
```