Class: Cp8Cli::Story

Inherits:
Object
  • Object
show all
Defined in:
lib/cp8_cli/story.rb

Direct Known Subclasses

AdhocStory, Github::Issue

Instance Method Summary collapse

Instance Method Details

#startObject



5
6
7
8
9
10
11
12
# File 'lib/cp8_cli/story.rb', line 5

def start
  checkout_branch
  create_empty_commit
  push_branch
  create_draft_pull_request
  assign
  Command.title "Created draft PR, run `cp8 open` to view."
end