devops-cli v2.1.0
devops-cli
Command Line Interface for DevOps 20scoops
Usage
$ npm install -g devops-cli
$ devops COMMAND
running command...
$ devops (-v|--version|version)
devops-cli/2.0.11 darwin-x64 node-v8.15.1
$ devops --help [COMMAND]
USAGE
$ devops COMMAND
...
Commands
devops add-user
devops autocomplete [SHELL]
devops aws-cli
devops create-cert-ssl
devops help [COMMAND]
devops init-filebeat
devops init-node-db
devops init-swarm
devops init-swarm-mongo-rs
devops install-elk
devops install-swarmpit
devops join-swarm
devops leave-swarm
devops mongo-replicas-status
devops prune-docker
devops add-user
add user group for docker commands without sudo
USAGE
$ devops add-user
See code: src/commands/add-user.js
devops autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ devops autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ devops autocomplete
$ devops autocomplete bash
$ devops autocomplete zsh
$ devops autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
devops aws-cli
install aws-cli and setup credential aws
USAGE
$ devops aws-cli
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/aws-cli.js
devops create-cert-ssl
create new cert SSL by certbot
USAGE
$ devops 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
devops help [COMMAND]
display help for devops
USAGE
$ devops help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
devops init-filebeat
install and setup configuration filebeat for logging
USAGE
$ devops init-filebeat
OPTIONS
-h, --logstash_host=logstash_host logstash host for connection to logstash
-l, --logs_path=logs_path location to log files by format is {logs_path}/*.log
See code: src/commands/init-filebeat.js
devops init-node-db
set this instance to database node for workder
USAGE
$ devops init-node-db
OPTIONS
-i, --ip=ip ip address host for set to database
See code: src/commands/init-node-db.js
devops init-swarm
init docker swarm for manager node
USAGE
$ devops init-swarm
See code: src/commands/init-swarm.js
devops init-swarm-mongo-rs
initial mongodb replica set in docker swarm
USAGE
$ devops init-swarm-mongo-rs
OPTIONS
-c, --containerid=containerid Container id of mongodb primary replicas
-p, --password=password Password admin mongodb for execute command
-u, --user=user User admin mongodb for execute command
See code: src/commands/init-swarm-mongo-rs.js
devops install-elk
install elk stack
USAGE
$ devops install-elk
See code: src/commands/install-elk.js
devops install-swarmpit
install swarmpit for docker swarm manager
USAGE
$ devops install-swarmpit
See code: src/commands/install-swarmpit.js
devops join-swarm
join docker swarm for worker node
USAGE
$ devops 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
devops leave-swarm
init docker swarm for manager node
USAGE
$ devops leave-swarm
See code: src/commands/leave-swarm.js
devops mongo-replicas-status
initial mongodb replica set in docker swarm
USAGE
$ devops mongo-replicas-status
OPTIONS
-c, --containerid=containerid Container id of mongodb primary replicas
-p, --password=password Password admin mongodb for execute command
-u, --user=user User admin mongodb for execute command
See code: src/commands/mongo-replicas-status.js
devops prune-docker
clear docker system
USAGE
$ devops prune-docker
See code: src/commands/prune-docker.js
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago