class Raketary::RunCmd

@author Jonathan Bradley Whited @since 0.1.0

Public Class Methods

new(*) click to toggle source
Calls superclass method Raketary::Cmd::new
# File lib/raketary/run_cmd.rb, line 23
def initialize(*)
  super

  parse! do |op|
    #op.separator op.summary_indent
  end
end

Public Instance Methods

run() click to toggle source
Calls superclass method Raketary::Cmd#run
# File lib/raketary/run_cmd.rb, line 31
def run
  super()

  run_task = Raketeer::RunTask.new

  ARGV << run_task.name.to_s
  ARGV.push(*@leftover_args)

  run_task = Rake::Task[run_task.name]

  run_task.reenable
  run_task.invoke

  app.ran_cmd = true
end