class ExecCommand
Public Instance Methods
info()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 96 def info; 'Runs specified script for current package.'; end
long()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 93 def long; 'exec'; end
opts()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 95 def opts; '[script] [args]'; end
run(args)
click to toggle source
# File lib/woodstove/packagecommands.rb, line 98 def run args need_args args, 'You must specify a script to execute.' current_package.run_script args[0], args[1..-1].join(' ') end
short()
click to toggle source
# File lib/woodstove/packagecommands.rb, line 94 def short; 'x'; end