
CLI Reference
Complete command-line interface reference for Muti Metroo.
Global Flags
Available for all commands:
-h, --help: Show help for command-v, --version: Show version information
Commands
| Command | Description |
|---|---|
run | Run agent with configuration file |
init | Initialize agent identity |
setup | Interactive setup wizard |
cert | Certificate management (CA, agent, client) |
hash | Generate bcrypt password hash |
status | Show agent status via control socket |
peers | List connected peers via control socket |
routes | List route table via control socket |
rpc | Execute remote procedure call |
upload | Upload file to remote agent |
download | Download file from remote agent |
service | Service management (install, uninstall, status) |
Quick Examples
# Start agent
muti-metroo run -c config.yaml
# Interactive setup
muti-metroo setup
# Generate CA
muti-metroo cert ca -n "My CA"
# Generate password hash for config
muti-metroo hash --cost 12
# Check agent status via control socket
muti-metroo status -s ./data/control.sock
# List connected peers
muti-metroo peers -s ./data/control.sock
# List route table
muti-metroo routes -s ./data/control.sock
# Execute remote command
muti-metroo rpc agent123 whoami
# Upload file
muti-metroo upload agent123 local.txt /tmp/remote.txt