2.22. hammer 默认值
默认管理
Usage: hammer defaults [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: add Add a default parameter to config delete Delete a default param list List all the default parameters providers List all the providers Options: -h, --help Print help
2.22.1. hammer 默认值添加
在 config 中添加默认参数
Usage: hammer defaults add [OPTIONS] Options: --param-name OPTION_NAME The name of the default option (e.g. organization_id) --param-value OPTION_VALUE The value for the default option --provider OPTION_PROVIDER The name of the provider providing the value. For list available providers see `hammer defaults providers` -h, --help Print help
2.22.2. hammer 默认删除
删除默认参数
Usage: hammer defaults delete [OPTIONS] Options: --param-name OPTION_NAME The name of the default option -h, --help Print help
2.22.3. hammer 默认列表
列出所有默认参数
Usage: hammer defaults list [OPTIONS] Options: -h, --help Print help
2.22.4. hammer 默认提供程序
列出所有供应商
Usage: hammer defaults providers [OPTIONS] Options: -h, --help Print help