Method: Flux::CLI::Feature#start

Defined in:
lib/flux/cli/feature.rb

#start(story_id, branch_id = branch_id_from_story(story_id)) ⇒ Object



15
16
17
18
19
20
21
22
23
# File 'lib/flux/cli/feature.rb', line 15

def start(story_id, branch_id = branch_id_from_story(story_id))
  invoke 'pt:grab', [story_id], :estimate => options[:estimate]
  invoke 'pt:start', [story_id]
  invoke 'branch:create',
         [branch_id],
         :parent_branch => options[:parent_branch]

  link story_id, branch_id
end