proxy
Set proxy for requests, Support socks and http, Set None to unset.
eg: proxy {proxy_url='http://127.0.0.1:10808'}
Command Args:
-p,--proxy_url [str] proxy_url (Default: '')
用于为请求设置代理,支持http代理与socks代理。
get
get
Get variable(s) use #{varname} to use it.
Command Args:
-k,--key [str] key (Default: '')
-a,--show_all [bool] show_all (Default: False)
用于显示之前设置过的变量的值,方便查看已设置过的变量。
set
set
Set variable, use #{varname} to use it.
Command Args:
-k,--key(*) [str] key
-v,--value(*) [?] *value
用于设置自定义变量的值,可以支持任意格式,比如set a {"a":"b"}则变量a会被设成一个字典,调用变量的格式为#{变量名称}。
save
save
Save the configuration of the variable(s) to variables.config.