class RemoveGlobalCommand
Public Instance Methods
info()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 69 def info; 'Remove specified packages globally.'; end
long()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 66 def long; 'remove-global'; end
opts()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 68 def opts; '[packages]'; end
run(packages)
click to toggle source
# File lib/woodstove/packagecommands.rb, line 71 def run packages need_args packages, 'You must specify packages to remove globally.' packages.each do |package| remove_package package, global_kindling, global_kindling_bin end end
short()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 67 def short; 'rg'; end