Sha256: 053abe6856e05676fe9ba4835a028e78adb3b8ae46ac86f9e2686a7f111aaeac
Contents?: true
Size: 762 Bytes
Versions: 19
Compression:
Stored size: 762 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, '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
19 entries across 19 versions & 2 rubygems