mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 12:26:50 +00:00
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:
parent
fa028db9d8
commit
b50c2fbbb0
@ -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.
|
On the SSH command line you can use the `hassio` command to retrieve logs, check the details of connected hardware, and more.
|
||||||
|
|
||||||
HomeAssistant:
|
Home Assistant:
|
||||||
```shell
|
|
||||||
|
```bash
|
||||||
$ hassio homeassistant logs
|
$ hassio homeassistant logs
|
||||||
$ hassio homeassistant restart
|
$ hassio homeassistant restart
|
||||||
$ hassio homeassistant stop
|
$ hassio homeassistant stop
|
||||||
@ -70,7 +71,8 @@ $ hassio homeassistant check
|
|||||||
```
|
```
|
||||||
|
|
||||||
Host:
|
Host:
|
||||||
```shell
|
|
||||||
|
```bash
|
||||||
$ hassio host hardware
|
$ hassio host hardware
|
||||||
$ hassio host reboot
|
$ hassio host reboot
|
||||||
$ hassio host shutdown
|
$ hassio host shutdown
|
||||||
@ -78,9 +80,41 @@ $ hassio host update
|
|||||||
```
|
```
|
||||||
|
|
||||||
Supervisor
|
Supervisor
|
||||||
```shell
|
|
||||||
|
```bash
|
||||||
$ hassio supervisor logs
|
$ hassio supervisor logs
|
||||||
$ hassio supervisor info
|
$ hassio supervisor info
|
||||||
$ hassio supervisor reload
|
$ hassio supervisor reload
|
||||||
$ hassio supervisor update
|
$ 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
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user