Sha256: 8161d8abba39c90de26ad872ab4580044796bb088bede5a89de3a657f3cc5b95
Contents?: true
Size: 371 Bytes
Versions: 4
Compression:
Stored size: 371 Bytes
Contents
require 'thor' module Blazing module CLI class Hook < Thor include Thor::Actions argument :rvm_string desc 'generate', 'generate post-receive hook from template' def generate template('templates/post-hook.tt', '/tmp/post-receive') end def self.source_root File.dirname(__FILE__) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
blazing-0.0.16 | lib/blazing/cli/hook.rb |
blazing-0.0.15 | lib/blazing/cli/hook.rb |
blazing-0.0.14 | lib/blazing/cli/hook.rb |
blazing-0.0.13 | lib/blazing/cli/hook.rb |