wx config
此内容尚不支持你的语言。
Inspect configuration and manage saved servers
wx config client
Show the resolved client endpoint, token-file path and account
wx config servers
Register servers and select the default server for this CLI
wx config servers add
Save a server URL and the local path to its API token file
| Argument or flag | Takes | What it does |
|---|---|---|
<NAME> | position 1, required | Name to save the server under |
--token-file | required, takes <TOKEN_FILE> | File holding this server’s API token |
--url | required, takes <URL> | Daemon URL, such as https://wx.example.com |
wx config servers list
List saved servers and the current selection
wx config servers remove
Remove a saved server from this CLI’s configuration
| Argument or flag | Takes | What it does |
|---|---|---|
<NAME> | position 1, required | Saved server name from wx config servers list |
wx config servers select
Save the server to use for subsequent commands
| Argument or flag | Takes | What it does |
|---|---|---|
<NAME> | position 1, required | Saved server name from wx config servers list |
wx config show
Show the resolved local daemon configuration