eosrift config
Manage client configuration.
Usage
text
eosrift config <command> [args]Subcommands:
add-authtokenset-serverset-host-headercheck
add-authtoken
text
eosrift config add-authtoken <token>Saves authtoken to config file.
set-server
text
eosrift config set-server <server-addr>Saves server_addr to config file.
set-host-header
text
eosrift config set-host-header <preserve|rewrite|value>Saves top-level host_header default for HTTP tunnels.
check
text
eosrift config checkChecks config loadability and basic validity:
- prints
Config OK: <path>when readable/parseable - warns if
authtokenis empty - warns if
server_addris empty - validates top-level
host_headervalue
Examples
bash
eosrift config add-authtoken eos_...
eosrift config set-server https://eosrift.com
eosrift config set-host-header rewrite
eosrift config check