Sha256: 6977fa52bc45f4886d29e342a39f8a0955918c3ea7c7f5750028c6f2dedea6b4
Contents?: true
Size: 575 Bytes
Versions: 3
Compression:
Stored size: 575 Bytes
Contents
require 'hanzo/modules/installers/remotes' require 'hanzo/modules/installers/labs' module Hanzo class Install < Base include Hanzo::Installers::Remotes include Hanzo::Installers::Labs protected def initialize_variables @type = extract_argument(1) end def initialize_cli initialize_help and return if @type.nil? send "install_#{@type}" end def initialize_help @options.banner = <<-BANNER Usage: hanzo install TYPE Available install type: remotes - Add git remotes to current repository BANNER end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hanzo-0.2.1 | lib/hanzo/modules/install.rb |
hanzo-0.2 | lib/hanzo/modules/install.rb |
hanzo-0.1.2 | lib/hanzo/modules/install.rb |