@xj0/aliyun_alb_cli
v0.2.3
Published
校精灵阿里云ALB命令行客户端
Downloads
1
Readme
aliyun_alb_cli
校精灵阿里云ALB命令行客户端
Usage
$ npm install -g @xj0/aliyun_alb_cli
$ aliyun_alb_cli COMMAND
running command...
$ aliyun_alb_cli (-v|--version|version)
@xj0/aliyun_alb_cli/0.2.3 darwin-x64 node-v14.17.4
$ aliyun_alb_cli --help [COMMAND]
USAGE
$ aliyun_alb_cli COMMAND
...
Config
// create config file in ~/.config/@xj0/aliyun_alb_cli/config.json
{
"accessKeyId": "",
"accessKeySecret": "",
"accessEndpoint": "",
"serverGroupId": "", // 阿里云负载均衡ALB 服务器组id
}
Commands
aliyun_alb_cli help [COMMAND]
display help for aliyun_alb_cli
USAGE
$ aliyun_alb_cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
aliyun_alb_cli ssw
设置服务器组的某个服务器的权重
USAGE
$ aliyun_alb_cli ssw
OPTIONS
-g, --serverGroupId=serverGroupId 服务器组id
-h, --help show CLI help
EXAMPLE
$ aliyun_alb_cli ssw -g SERVER_GROUP_ID
See code: src/commands/ssw.ts