Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 1.33 KB

File metadata and controls

62 lines (41 loc) · 1.33 KB

RCON-CLI

A simple CLI for Valve's RCON server management.

rcon cli preview

Usage

rcon --help

example commands:

  • rcon server list // list all servers
  • rcon server add // add a new server
  • rcon -d action exec // execute a command on the Default server
  • rcon action exec // execute a command on a server (selected from a list)
  • rcon action shell // open a recurring command executor
  • rcon shell-completion <filename e.g. completion.sh> // generate shell completion script (auto detects shell)

Installation

Using Binaries

Download the latest release for your operating system and add them to your PATH.

CLI Autocomplete

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

Building from source

Make sure you've set up your rust environment by following the instructions here.

  cargo build

or

  cargo build --release

Logging verbosity flag 🚩

  • -q silences output
  • -v show warnings
  • -vv show info
  • -vvv show debug
  • -vvvv show trace