mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-18 01:41:29 +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>
|
<details>
|
||||||
<summary>Command Line Interface</summary>
|
<summary>Command Line Interface</summary>
|
||||||
|
|
||||||
The cli interface can be enabled using `--frontend cli` as commandline arguments.
|
The cli interface can be accessed by passing `cli` as a commandline argument.
|
||||||
Type `help` to list the available commands.
|
Use
|
||||||
|
|
||||||
E.g.:
|
|
||||||
```sh
|
```sh
|
||||||
$ cargo run --release -- --frontend cli
|
lan-mouse cli help
|
||||||
(...)
|
|
||||||
> connect <host> left|right|top|bottom
|
|
||||||
(...)
|
|
||||||
> list
|
|
||||||
(...)
|
|
||||||
> activate 0
|
|
||||||
```
|
```
|
||||||
|
to list the available commands and
|
||||||
|
```sh
|
||||||
|
lan-mouse cli <cmd> help
|
||||||
|
```
|
||||||
|
for information on how to use a specific command.
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
|||||||
Reference in New Issue
Block a user