You need to enable JavaScript to run this app.
导航

配置命令

最近更新时间2024.01.24 11:57:21

首次发布时间2024.01.24 11:57:21

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


命令示例

查询Config参数

$ bioctl config list

Option                Value
method                volc
timeout                10
serverAddr           open.volcengineapi.com
insecure             true

查询单个Config参数

$ bioctl config get timeout  ##查询timeout时间

Using config file: /Users/bytedance/.bioctl/bioctl.yaml
10

设置Config参数

$ bioctl config set timeout 8 ##将timeout时间设置为8秒