Remove old commands (#5951)

Update capabilities overview to CLI 1.3.1
Add an example of the --options option
This commit is contained in:
Jorim Tielemans 2018-08-04 21:46:47 +02:00 committed by Fabian Affolter
parent 535c9ea1f7
commit 6b2142cfdf

View File

@ -19,32 +19,45 @@ On the SSH command line, you can use the `hassio` command to retrieve logs, chec
Home Assistant: Home Assistant:
```bash ```bash
$ hassio homeassistant info
$ hassio homeassistant logs $ hassio homeassistant logs
$ hassio homeassistant restart
$ hassio homeassistant stop
$ hassio homeassistant start
$ hassio homeassistant update
$ hassio homeassistant check $ hassio homeassistant check
$ hassio homeassistant restart
$ hassio homeassistant start
$ hassio homeassistant stop
$ hassio homeassistant update
```
Supervisor:
```bash
$ hassio supervisor info
$ hassio supervisor logs
$ hassio supervisor reload
$ hassio supervisor update
``` ```
Host: Host:
```bash ```bash
$ hassio host hardware
$ hassio host reboot $ hassio host reboot
$ hassio host shutdown $ hassio host shutdown
$ hassio host update $ hassio host update
``` ```
Supervisor Hardware:
```bash ```bash
$ hassio supervisor logs $ hassio hardware info
$ hassio supervisor info $ hassio hardware audio
$ hassio supervisor reload
$ hassio supervisor update
``` ```
To update Home Assistant to a specific version, use the command:
```bash
hassio homeassistant update --options version=x.y.z
```
Replace x.y.z with the desired version like `version=0.74.2`
You can get a better description of the CLI capabilities by typing `hassio help`: You can get a better description of the CLI capabilities by typing `hassio help`:
```bash ```bash
@ -55,7 +68,7 @@ USAGE:
hassio [global options] command [command options] [arguments...] hassio [global options] command [command options] [arguments...]
VERSION: VERSION:
1.2.1 1.3.1
AUTHOR: AUTHOR:
Home-Assistant <hello@home-assistant.io> Home-Assistant <hello@home-assistant.io>
@ -63,7 +76,8 @@ AUTHOR:
COMMANDS: COMMANDS:
homeassistant, ha info, logs, check, restart, start, stop, update homeassistant, ha info, logs, check, restart, start, stop, update
supervisor, su info, logs, reload, update supervisor, su info, logs, reload, update
host, ho hardware, reboot, shutdown, update host, ho reboot, shutdown, update
hardware, hw info, audio
network, ne info, options network, ne info, options
snapshots, sn list, info, reload, new, restore, remove snapshots, sn list, info, reload, new, restore, remove
addons, ad list, info, logo, changelog, logs, stats, addons, ad list, info, logo, changelog, logs, stats,