npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

devops-cli

2.0.11 • Public • Published

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.12.0
$ 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 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 prune-docker

clear docker system

USAGE
  $ devops prune-docker

See code: src/commands/prune-docker.js

Keywords

install

npm i devops-cli

Downloadsweekly downloads

40

version

2.0.11

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability