@buzuli/ops-tools
Miscellaneous ops tools to make my life easier.
Last updated a month ago by buzuli .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @buzuli/ops-tools 
SYNC missed versions from official npm registry.

ops-tools

Build Status NPM version

A suite of tools to help @buzuli be more productive at DevOps.

Dependencies

  • Node.js >=8.0.0

Installing

$ npm i -g @buzuli/ops-tools

Both ops-tools and the alias ops will be exposed.

You can also invoke via npx:

npx @buzuli/ops-tools <sub-command>

Configuration

AWS

For AWS commands (ec2-*, s3-*, emr-*, etc.):

  • region - AWS_REGION | AWS_DEFAULT_REGION
  • key id - AWS_ACCESS_KEY | AWS_ACCESS_KEY_ID
  • secret key - AWS_SECRET_KEY | AWS_SECRET_ACCESS_KEY

Cloudflare

For cloudflare commands (cf-*):

  • zone - CLOUDFLARE_ZONE
  • email - CLOUDFLARE_EMAIL
  • api key - CLOUDFLARE_API_KEY

Color

Uses @buzuli/color, so you can adjust the color scheme using its config options:

Usage

ops <command>

Commands:
  ops acm-import <pem-cert> <private-key>   Imports a pem-format cert into ACM
  ops acm-info <arn>                        show details for a certificate
  ops acm-list                              list all ACM certificates
  ops alarms                                list configured cloudwatch alarms
  ops ami-list                              list AMIs in the current region
  ops ami-publish <region> <ami>            make the identified AMI public
  ops ami-replicate <region> <ami>          replicate an AMI from one region to
                                            all others
  ops ami-unpublish <region> <ami>          make the identified AMI private
  ops aws-health                            list aws health events
  ops aws-ip-ranges                         IP ranges owned by AWS
  ops aws-regions                           List out the AWS regions
  ops cf-log-fields                         CloudFlare log fields
  ops cf-ray <ray-id>                       fetch the Cloudflare log record for
                                            the supplied Ray ID
  ops cf-stats                              CloudFlare stats
  ops couch-follow <url>                    follow a CouchDB change feed
  ops couch-replicate <document> [dst-doc]  replicate a document from one
                                            CouchDB to another, replacing (new
                                            _rev) if the document already exists
  ops couch-rewrite <document> <path>       rewrite a single key within a
  [value]                                   CouchDB document
  ops docker-tags <image>                   fetch the list of tags for an image
                                            from docker hub
  ops ec2-by-age                            list all AWS instances in a region
                                            by age
  ops ec2-can-run                           test if a particular EC2
                                            configuration will run
  ops ec2-find                              find an EC2 instance
  ops ec2-ips                               List elastic IPs for the region
  ops ec2-limits                            EC2 limits applied for this account
  ops ec2-new-docker-swarm                  create a docker swarm cluster
  ops ec2-state <instance>                  Check or alter the state of an EC2
                                            instance
  ops ec2-uptimes                           list AWS instances in a region by
                                            uptime
  ops emr-cluster-info <cluster>            Get details on a single EMR cluster
  ops emr-clusters                          List out EMR clusters for a region
  ops http-get <url>                        simple http GET against a URL
  ops lambda-functions                      list out an account's AWS Lambda
                                            functions
  ops micro-monitor <url>                   check the status of a server running
                                            micro-monitor
  ops npm-downloads [time-window]           fetch download count data from
  [...options]                              api.npmjs.org
  ops npm-versions <pkg>                    provide a summary of package version
                                            info for an npm package
  ops nsq-peek <topic>                      peek at messages in the named topic
  ops nsq-send <topic> <message>            send a message to an NSQ topic
  ops proxy <url>                           proxies to a remote URL and logs
                                            traffic for debugging
  ops s3-buckets                            list out region S3 buckets
  ops s3-info <bucket> <key>                Get metadata for an S3 object
  ops s3-list <bucket>                      List keys in an s3 bucket
  ops salt                                  generate a url-safe, base64 encoded
                                            salt for use in sharing resources
  ops site-poll <url>                       Check on the status of a site

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

Current Tags

  • 11.3.2                                ...           latest (a month ago)

135 Versions

  • 11.3.2                                ...           a month ago
  • 11.3.1                                ...           4 months ago
  • 11.3.0                                ...           4 months ago
  • 11.2.1                                ...           5 months ago
  • 11.2.0                                ...           6 months ago
  • 11.1.0                                ...           7 months ago
  • 11.0.2                                ...           8 months ago
  • 11.0.1                                ...           8 months ago
  • 11.0.0                                ...           8 months ago
  • 10.0.0                                ...           a year ago
  • 9.8.0                                ...           a year ago
  • 9.7.0                                ...           a year ago
  • 9.6.2                                ...           a year ago
  • 9.6.1                                ...           a year ago
  • 9.6.0                                ...           a year ago
  • 9.5.1                                ...           a year ago
  • 9.5.0                                ...           a year ago
  • 9.4.0                                ...           a year ago
  • 9.3.0                                ...           a year ago
  • 9.2.0                                ...           a year ago
  • 9.1.1                                ...           a year ago
  • 9.1.0                                ...           a year ago
  • 9.0.0                                ...           a year ago
  • 8.9.0                                ...           a year ago
  • 8.8.0                                ...           a year ago
  • 8.7.0                                ...           a year ago
  • 8.6.2                                ...           2 years ago
  • 8.6.1                                ...           2 years ago
  • 8.6.0                                ...           2 years ago
  • 8.5.0                                ...           2 years ago
  • 8.4.0                                ...           2 years ago
  • 8.3.3                                ...           2 years ago
  • 8.3.2                                ...           2 years ago
  • 8.3.1                                ...           2 years ago
  • 8.3.0                                ...           2 years ago
  • 8.2.3                                ...           2 years ago
  • 8.2.2                                ...           2 years ago
  • 8.2.1                                ...           2 years ago
  • 8.2.0                                ...           2 years ago
  • 8.1.0                                ...           2 years ago
  • 8.0.0                                ...           2 years ago
  • 7.5.0                                ...           2 years ago
  • 7.4.0                                ...           2 years ago
  • 7.3.1                                ...           2 years ago
  • 7.2.0                                ...           2 years ago
  • 7.1.0                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 6.1.0                                ...           2 years ago
  • 6.0.1                                ...           2 years ago
  • 6.0.0                                ...           2 years ago
  • 5.9.0                                ...           2 years ago
  • 5.8.0                                ...           2 years ago
  • 5.7.1                                ...           2 years ago
  • 5.7.0                                ...           2 years ago
  • 5.6.0                                ...           2 years ago
  • 5.5.0                                ...           2 years ago
  • 5.4.0                                ...           2 years ago
  • 5.3.0                                ...           2 years ago
  • 5.2.2                                ...           2 years ago
  • 5.2.1                                ...           2 years ago
  • 5.2.0                                ...           2 years ago
  • 5.1.1                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.1                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 4.21.1                                ...           2 years ago
  • 4.21.0                                ...           2 years ago
  • 4.20.0                                ...           2 years ago
  • 4.19.0                                ...           2 years ago
  • 4.18.0                                ...           2 years ago
  • 4.17.2                                ...           2 years ago
  • 4.17.1                                ...           2 years ago
  • 4.17.0                                ...           2 years ago
  • 4.16.1                                ...           2 years ago
  • 4.16.0                                ...           2 years ago
  • 4.15.3                                ...           2 years ago
  • 4.15.2                                ...           2 years ago
  • 4.15.1                                ...           2 years ago
  • 4.15.0                                ...           2 years ago
  • 4.14.1                                ...           2 years ago
  • 4.13.0                                ...           2 years ago
  • 4.12.3                                ...           2 years ago
  • 4.12.2                                ...           2 years ago
  • 4.12.1                                ...           2 years ago
  • 4.12.0                                ...           2 years ago
  • 4.11.1                                ...           2 years ago
  • 4.11.0                                ...           2 years ago
  • 4.10.1                                ...           2 years ago
  • 4.9.0                                ...           2 years ago
  • 4.8.0                                ...           2 years ago
  • 4.7.0                                ...           2 years ago
  • 4.6.1                                ...           2 years ago
  • 4.5.5                                ...           2 years ago
  • 4.5.4                                ...           2 years ago
  • 4.5.3                                ...           2 years ago
  • 4.5.2                                ...           2 years ago
  • 4.5.1                                ...           2 years ago
  • 4.5.0                                ...           2 years ago
  • 4.4.0                                ...           2 years ago
  • 4.3.0                                ...           2 years ago
  • 4.2.2                                ...           2 years ago
  • 4.2.1                                ...           2 years ago
  • 4.2.0                                ...           2 years ago
  • 4.1.3                                ...           2 years ago
  • 4.1.2                                ...           2 years ago
  • 4.1.1                                ...           2 years ago
  • 4.1.0                                ...           2 years ago
  • 4.0.0                                ...           2 years ago
  • 3.0.3                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.10.2                                ...           2 years ago
  • 2.9.1                                ...           2 years ago
  • 2.9.0                                ...           2 years ago
  • 2.8.2                                ...           2 years ago
  • 2.8.1                                ...           2 years ago
  • 2.8.0                                ...           2 years ago
  • 2.7.6                                ...           2 years ago
  • 2.7.5                                ...           2 years ago
  • 2.7.4                                ...           2 years ago
  • 2.7.3                                ...           2 years ago
  • 2.7.2                                ...           2 years ago
  • 2.7.1                                ...           2 years ago
  • 2.7.0                                ...           2 years ago
  • 2.6.0                                ...           2 years ago
  • 2.5.0                                ...           2 years ago
  • 2.4.2                                ...           2 years ago
  • 2.4.1                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 135
This Month 135
Last Day 135
Last Week 0
Last Month 150
Dependencies (35)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |