Method: Wheelbarrow::CLI#pull_request
- Defined in:
- lib/wheelbarrow/cli.rb
#pull_request ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/wheelbarrow/cli.rb', line 24 def pull_request Utils.ensure_within_git! do args = { title: [:title], description: [:description], target_branch: [:target_branch] } pr_response = Bucketeer.instance.send_pull_request! args puts pretty_pr_status(pr_response) end rescue => e puts e. end |