jankmet / capistrano-spy

viewing remote configurations and running services for capistrano

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gem Version Code Climate

capistrano-spy

viewing remote configurations and running services for capistrano

Installation

Add this line to your application's Gemfile:

gem 'capistrano-spy'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-spy

Usage

Require in Capfile:

require 'capistrano/spy'

This will add the following tasks:

show:config[file]      # show shared config yml file
show:mem               # show memory info (MemTotal, MemFree, Cached, SwapCached, SwapTotal, SwapFree)
show:running[service]  # show running processes of service
show:yml               # list all yml config files

Examples:

$ cap production show:yml
$ cap production show:config[app]
$ cap production show:running[unicorn]
$ cap staging show:mem

About

viewing remote configurations and running services for capistrano

License:MIT License


Languages

Language:Ruby 100.0%