Sha256: d066ad245fc3ce72a184fce934667efbe5f1758907e83cab25dc72c6f367b9c8
Contents?: true
Size: 790 Bytes
Versions: 3
Compression:
Stored size: 790 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 'skip the lgtm checks and deliver your feature branch' c.switch [:f, :'skip-lgtm'] 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 deliver_options.merge({'skip_lgtm' => options[:'skip-lgtm']}) GitReflow.deliver deliver_options end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
git_reflow-0.3.2 | lib/git_reflow/commands/deliver.rb |
git_reflow-0.3.1 | lib/git_reflow/commands/deliver.rb |
git_reflow-0.2.5 | lib/git_reflow/commands/deliver.rb |