2.1.0 • Published 4 years ago

devops-cli v2.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

devops-cli

Command Line Interface for DevOps 20scoops

oclif Version Downloads/week

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

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

2.1.0

4 years ago

2.0.12

5 years ago

2.0.11

5 years ago

2.0.10

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago