Module: RemoteCOB::Selection

Defined in:
lib/remote_cob.rb

Overview

This is the code for querying github issues and displaying a select prompt to the user

Class Method Summary collapse

Class Method Details

.runObject



29
30
31
32
33
34
# File 'lib/remote_cob.rb', line 29

def self.run
  RemoteCOB.ensure_credentials_and_remote
  paginator = Paginator.new(Credentials.new)
  issue = Navigator.new(paginator).prompt_for_issue_selection
  Git.checkout_branch(issue)
end