Client CLI
The current client command surface is:
eosrift httpeosrift tcpeosrift tlseosrift starteosrift configeosrift versioneosrift help
Global usage
text
eosrift [--config <path>] <command> [args]Global flag:
--config <path>: override config file path (default is OS-specific, see Configuration).
Environment variables
EOSRIFT_CONFIG: config path override.EOSRIFT_SERVER_ADDR: preferred server base address.EOSRIFT_CONTROL_URL: legacy fullws(s)control URL.EOSRIFT_AUTHTOKEN: client authtoken.EOSRIFT_INSPECT_ADDR: local inspector listen address.EOSRIFT_AUTH_TOKEN: compatibility fallback for authtoken whenEOSRIFT_AUTHTOKENis unset.
Server address formats
Commands that accept --server support:
https://hostorhttps://host:porthttp://host:portwss://host/controlorws://host/control- bare host forms (for example
example.comorexample.com:8080)
For http(s) server values, the client derives a websocket control URL by appending /control.
Local target formats
http:<port>,<host:port>, orhttp(s)://<host[:port]>(URL form must not include path/query/fragment).tcpandtls:<port>or<host:port>.
If you pass only a port, Eosrift targets 127.0.0.1:<port>.
Command docs
- HTTP command reference
- TCP command reference
- TLS command reference
- Start command reference
- Config command reference
Quick examples
bash
eosrift config add-authtoken <token>
eosrift config set-server https://eosrift.com
eosrift http 3000 --domain demo.tunnel.eosrift.com
eosrift tcp 5432 --remote-port 20005
eosrift start --all