A simple CLI for Valve's RCON server management.
rcon --help
example commands:
rcon server list
// list all serversrcon server add
// add a new serverrcon -d action exec
// execute a command on the Default serverrcon action exec
// execute a command on a server (selected from a list)rcon action shell
// open a recurring command executorrcon shell-completion <filename e.g. completion.sh>
// generate shell completion script (auto detects shell)
Download the latest release for your operating system and add them to your PATH.
You can generate shell completion scripts by running the following command:
rcon shell-completion <Filename e.g. completion.sh>
Installing it depends on your shell, for example, for bash:
source completion.sh
Make sure you've set up your rust environment by following the instructions here.
cargo build
or
cargo build --release
- -q silences output
- -v show warnings
- -vv show info
- -vvv show debug
- -vvvv show trace