mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 11:59:59 +03:00
Update README.md
update cli interface usage
This commit is contained in:
committed by
GitHub
parent
1ece2a417d
commit
5736919f89
20
README.md
20
README.md
@@ -268,19 +268,17 @@ If the device still can not be entered, make sure you have UDP port `4242` (or t
|
||||
<details>
|
||||
<summary>Command Line Interface</summary>
|
||||
|
||||
The cli interface can be enabled using `--frontend cli` as commandline arguments.
|
||||
Type `help` to list the available commands.
|
||||
|
||||
E.g.:
|
||||
The cli interface can be accessed by passing `cli` as a commandline argument.
|
||||
Use
|
||||
```sh
|
||||
$ cargo run --release -- --frontend cli
|
||||
(...)
|
||||
> connect <host> left|right|top|bottom
|
||||
(...)
|
||||
> list
|
||||
(...)
|
||||
> activate 0
|
||||
lan-mouse cli help
|
||||
```
|
||||
to list the available commands and
|
||||
```sh
|
||||
lan-mouse cli <cmd> help
|
||||
```
|
||||
for information on how to use a specific command.
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
|
||||
Reference in New Issue
Block a user