Sha256: 3d875f44561a0c50fd4d1ebea35251ab636f9b1f183276c33b8518cbe9b20f10
Contents?: true
Size: 760 Bytes
Versions: 5
Compression:
Stored size: 760 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.switch [:f, :'skip-lgtm'], desc: 'skip the lgtm checks and deliver your feature branch' c.action do |global_options,options,args| deliver_options = {'base' => nil, 'head' => nil, 'skip_lgtm' => options[:'skip-lgtm']} 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
5 entries across 5 versions & 1 rubygems