CLI Reference
wrapd-agent [OPTIONS]Options
Section titled “Options”| Flag | Short | Environment Variable | Default | Description |
|---|---|---|---|---|
--token | -t | WRAPD_TOKEN | — | Agent token (required) |
--hub-url | — | WRAPD_HUB_URL | wss://hub.wrapd.sh | WebSocket hub URL |
--config | -c | WRAPD_CONFIG_PATH | wrapd.yaml | Path to config file |
CLI flags take precedence over environment variables.
Examples
Section titled “Examples”Basic usage
Section titled “Basic usage”wrapd-agent --token wrapd_at_abc123Custom config path
Section titled “Custom config path”wrapd-agent --token wrapd_at_abc123 --config /etc/wrapd/endpoints.yamlSelf-hosted hub
Section titled “Self-hosted hub”wrapd-agent \ --token wrapd_at_abc123 \ --hub-url ws://your-server:7503/wsDebug logging
Section titled “Debug logging”RUST_LOG=debug wrapd-agent --token wrapd_at_abc123