class InstallGlobalCommand

Public Instance Methods

info() click to toggle source
# File lib/woodstove/packagecommands.rb, line 54
def info; 'Install specified packages globally.'; end
long() click to toggle source
# File lib/woodstove/packagecommands.rb, line 51
def long; 'install-global'; end
opts() click to toggle source
# File lib/woodstove/packagecommands.rb, line 53
def opts; '[packages]'; end
run(packages) click to toggle source
# File lib/woodstove/packagecommands.rb, line 56
def run packages
  need_args packages, 'You must specify packages to install globally.'
  packages.each do |package|
    install_package package, global_kindling, global_kindling_bin
  end
end
short() click to toggle source
# File lib/woodstove/packagecommands.rb, line 52
def short; 'ig'; end