Config命令支持用户对配置进行设置,获取设置及枚举可设置项
Usage: bioctl config [COMMAND] Configure the CLI. Commands: get <config_name> Get a configuration property value from options, env and file. list List all configuration properties and their values from options, env and file. set <config_name> <config_value> Set a configuration property value.
使用bioctl config set命令仅支持设置以下四个参数,aksk、region都需要在config文件中进行修改或者使用bioctl auth命令设置aksk以及region
serverAddr: open.volcengineapi.com
insecure: true
method: volc
timeout: 10
$ bioctl config list Option Value method volc timeout 10 serverAddr open.volcengineapi.com insecure true
$ bioctl config get timeout ##查询timeout时间 Using config file: /Users/bytedance/.bioctl/bioctl.yaml 10
$ bioctl config set timeout 8 ##将timeout时间设置为8秒