20scoops 中文文档教程
20scoops
devops 指挥官
Usage
$ npm install -g 20scoops
$ 20scoops COMMAND
running command...
$ 20scoops (-v|--version|version)
20scoops/1.0.15 darwin-x64 node-v8.15.0
$ 20scoops --help [COMMAND]
USAGE
$ 20scoops COMMAND
...
Commands
20scoops create-cert-ssl
20scoops help [COMMAND]
20scoops init-aws
20scoops init-swarm
20scoops join-swarm
20scoops leave-swarm
20scoops create-cert-ssl
通过 certbot 创建新的证书 SSL
USAGE
$ 20scoops create-cert-ssl
OPTIONS
-d, --domain=domain your domin name website
-e, --email=email your email for notification
参见代码:src/commands/create-cert-ssl.js
20scoops help [COMMAND]
显示 20scoops 的帮助
USAGE
$ 20scoops help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
参见代码:@oclif/plugin-help
20scoops init-aws
init credential AWS CLI
USAGE
$ 20scoops init-aws
OPTIONS
-a, --access_key=access_key AWS access key id
-r, --region=region AWS region
-s, --secret_access_key=secret_access_key AWS secret accesskey
20scoops init-swarm
init docker swarm for manager node
USAGE
$ 20scoops init-swarm
< em>查看代码:src/commands/init-swarm.js
20scoops join-swarm
为工作节点加入 docker swarm
USAGE
$ 20scoops join-swarm
OPTIONS
-i, --ip=ip private ip address from manager node
-t, --token=token token docker swarm from manager node
查看代码:src/commands/join-swarm.js
20scoops leave-swarm
为管理器节点初始化 docker swarm
USAGE
$ 20scoops leave-swarm
参见 co de: src/commands/leave-swarm.js
20scoops
devops commander
Usage
$ npm install -g 20scoops
$ 20scoops COMMAND
running command...
$ 20scoops (-v|--version|version)
20scoops/1.0.15 darwin-x64 node-v8.15.0
$ 20scoops --help [COMMAND]
USAGE
$ 20scoops COMMAND
...
Commands
20scoops create-cert-ssl
20scoops help [COMMAND]
20scoops init-aws
20scoops init-swarm
20scoops join-swarm
20scoops leave-swarm
20scoops create-cert-ssl
create new cert SSL by certbot
USAGE
$ 20scoops create-cert-ssl
OPTIONS
-d, --domain=domain your domin name website
-e, --email=email your email for notification
See code: src/commands/create-cert-ssl.js
20scoops help [COMMAND]
display help for 20scoops
USAGE
$ 20scoops help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
20scoops init-aws
init credential AWS CLI
USAGE
$ 20scoops init-aws
OPTIONS
-a, --access_key=access_key AWS access key id
-r, --region=region AWS region
-s, --secret_access_key=secret_access_key AWS secret accesskey
See code: src/commands/init-aws.js
20scoops init-swarm
init docker swarm for manager node
USAGE
$ 20scoops init-swarm
See code: src/commands/init-swarm.js
20scoops join-swarm
join docker swarm for worker node
USAGE
$ 20scoops join-swarm
OPTIONS
-i, --ip=ip private ip address from manager node
-t, --token=token token docker swarm from manager node
See code: src/commands/join-swarm.js
20scoops leave-swarm
init docker swarm for manager node
USAGE
$ 20scoops leave-swarm
See code: src/commands/leave-swarm.js