【文件属性】:
文件名称:capistrano-spy:查看Capistrano的远程配置和运行服务
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-17 09:10:46
Ruby
Capistrano间谍
查看Capistrano的远程配置和运行服务
安装
将此行添加到您的应用程序的Gemfile中:
gem 'capistrano-spy'
然后执行:
$ bundle
或将其自己安装为:
$ gem install capistrano-spy
用法
在Capfile要求:
require 'capistrano/spy'
这将添加以下任务:
show :config [ file ] # show shared config yml file
show :mem # show memory info (MemTotal, MemFree, Cached, SwapCached, SwapTotal, SwapFree)
show :running [ service ] # show runnin
【文件预览】:
capistrano-spy-master
----.gitignore(153B)
----capistrano-spy.gemspec(1015B)
----LICENSE(1KB)
----README.md(1KB)
----lib()
--------capistrano-spy.rb(1B)
--------capistrano()
----Gemfile(103B)
----Rakefile(28B)