20scoops 中文文档教程

发布于 6年前 浏览 35 项目主页 更新于 3年前

20scoops

devops 指挥官

oclif版本下载/周< /a>

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

通过 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

查看代码:src/commands/init-aws.js

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

oclifVersionDownloads/week

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

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

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文