Add CLI logs section (#1060)

This commit is contained in:
Max Efremov 2021-03-17 22:11:41 +03:00 committed by GitHub
parent cfc8ad709d
commit 7eeb5116ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,4 +218,30 @@ through a graphical user interface.
If set, opens the dashboard UI in a browser once the server is up and running. If set, opens the dashboard UI in a browser once the server is up and running.
``logs`` Command
---------------------
.. program:: esphome logs
The ``esphome <CONFIG> logs`` command validates the configuration and shows all logs.
.. option:: --topic TOPIC
Manually set the topic to subscribe to.
.. option:: --username USERNAME
Manually set the username.
.. option:: --password PASSWORD
Manually set the password.
.. option:: --client-id CLIENT_ID
Manually set the client id.
.. option:: --serial-port SERIAL_PORT
Manually specify a serial port to use. For example ``/dev/cu.SLAB_USBtoUART``.