File: checkout.rb

package info (click to toggle)
ticgit 1.0.2.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 488 kB
  • sloc: ruby: 2,848; sh: 124; makefile: 16
file content (14 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module TicGitNG
  module Command
    module Checkout
      def parser(opts)
        opts.banner = "ti checkout [ticid]"
      end

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