mirror of
https://github.com/onyx-and-iris/q3rcon-cli.git
synced 2026-03-23 18:29:18 +00:00
add --help output to README
This commit is contained in:
parent
649a1b6cce
commit
277f316d28
27
README.md
27
README.md
@ -54,6 +54,33 @@ export Q3RCON_CLI_PORT="28960"
|
|||||||
export Q3RCON_CLI_PASSWORD="<rcon password>"
|
export Q3RCON_CLI_PASSWORD="<rcon password>"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Use
|
||||||
|
|
||||||
|
```console
|
||||||
|
Usage: q3rcon-cli [OPTIONS] COMMAND
|
||||||
|
|
||||||
|
┏━ Subcommands ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃ status Prints the status of the server ┃
|
||||||
|
┃ mapname Prints the current map name of the server ┃
|
||||||
|
┃ maprotate Rotates the map to the next one in the map rotation list ┃
|
||||||
|
┃ fastrestart Executes a fast restart of the server ┃
|
||||||
|
┃ gametype Get or set the current gametype of the server ┃
|
||||||
|
┃ hostname Get or set the current hostname of the server ┃
|
||||||
|
┃ map Get the current map or change to a new one ┃
|
||||||
|
┃ plugins Prints the currently loaded plugins of the server ┃
|
||||||
|
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||||
|
|
||||||
|
┏━ Options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃ -i, --interactive Whether to start in interactive mode (defaults to false) ┃
|
||||||
|
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||||
|
|
||||||
|
┏━ Connection options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃ -h, --host <HOST> The host to connect to ┃
|
||||||
|
┃ -p, --port <PORT> The port to connect to ┃
|
||||||
|
┃ -P, --password <PASSWORD> The password for authentication ┃
|
||||||
|
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||||
|
```
|
||||||
|
|
||||||
## Special Thanks
|
## Special Thanks
|
||||||
|
|
||||||
- [lapetus-11](https://github.com/Iapetus-11) for writing the [aio-q3-rcon](https://github.com/Iapetus-11/aio-q3-rcon) package.
|
- [lapetus-11](https://github.com/Iapetus-11) for writing the [aio-q3-rcon](https://github.com/Iapetus-11/aio-q3-rcon) package.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user