class RemoveCommand
Public Instance Methods
info()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 39 def info; 'Remove specified packages.'; end
long()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 36 def long; 'remove'; end
opts()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 38 def opts; '[packages]'; end
run(packages)
click to toggle source
# File lib/woodstove/packagecommands.rb, line 41 def run packages need_args packages, 'You must specify packages to remove.' packages.each do |package| remove_package package, "#{FileUtils.pwd}/kindling", "#{FileUtils.pwd}/kindling/.bin" end end
short()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 37 def short; 'r'; end