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
- Default:
-u, --user(string): Authentication username. Can also be set viaRUSEON_USERenvironment variable.-p, --pass(string): Authentication password. Can also be set viaRUSEON_PASSenvironment variable.
Example usage:
bash
ruseon-cli --api http://192.168.1.100:8080/api -u admin -p secret123 status