Module: TicGitNG::Command::Checkout

Defined in:
lib/ticgit-ng/command/checkout.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



8
9
10
11
# File 'lib/ticgit-ng/command/checkout.rb', line 8

def execute
  tid = args[0]
  tic.ticket_checkout(tid)
end

#parser(opts) ⇒ Object



4
5
6
# File 'lib/ticgit-ng/command/checkout.rb', line 4

def parser(opts)
  opts.banner = "ti checkout [ticid]"
end