Module: TicGitNG::Command::Init
- Defined in:
- lib/ticgit-ng/command/init.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/ticgit-ng/command/init.rb', line 7 def execute @tic.read_tickets =begin #Initialization has to happen earlier in the code so this code stands #as an example, when `ti init` is called, initialization is handled by #base.rb:354 (at the time of writing this). tic.base.init_ticgitng_branch( git.lib.branches_all.map{|b| b.first }.include?(which_branch?) ) =end end |
#parser(o) ⇒ Object
4 5 6 |
# File 'lib/ticgit-ng/command/init.rb', line 4 def parser o o.= "Usage: ti init" end |