Skip to content

CLI Overview

RUSEON Core includes a powerful command-line interface (ruseon-cli) built with cobra. It allows you to manage the server without using the REST API directly.

Global Flags

All CLI commands support the following global flags to connect to the target server:

  • --api (string): The base URL of the RUSEON Core REST API.
    • Default: http://127.0.0.1:8080/api
  • -u, --user (string): Authentication username. Can also be set via RUSEON_USER environment variable.
  • -p, --pass (string): Authentication password. Can also be set via RUSEON_PASS environment variable.

Example usage:

bash
ruseon-cli --api http://192.168.1.100:8080/api -u admin -p secret123 status

Released under the MIT License.