Sha256: 61470c0c33bd291a05ea9cbf519e4ac0fa763452589ce9fc4f1c5a8c4aab46a3
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 Bytes
Contents
desc 'deliver your feature branch' long_desc 'merge your feature branch down to your base branch, and cleanup your feature branch' command :deliver do |c| c.desc 'merge your feature branch down to your base branch, and cleanup your feature branch' c.arg_name 'base_branch - the branch you want to merge into' c.action do |global_options,options,args| deliver_options = {'base' => nil, 'head' => nil} case args.length when 2 deliver_options['base'] = args[0] deliver_options['head'] = args[1] when 1 deliver_options['base'] = args[0] end GitReflow.deliver deliver_options end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_reflow-0.2.4 | lib/git_reflow/commands/deliver.rb |