Sha256: 7bf4653520951959df1c75d3d12b8b45a56611cce0ace9d2e6226cd721e2d72b
Contents?: true
Size: 718 Bytes
Versions: 1
Compression:
Stored size: 718 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 && return if @type.nil? method = "install_#{@type}" if self.respond_to?(method) send(method) else initialize_help end end def initialize_help @options.banner = <<-BANNER.unindent Usage: hanzo install TYPE Available install type: remotes - Add git remotes to current repository BANNER end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hanzo-0.4.3 | lib/hanzo/modules/install.rb |