Sha256: bb692dc7b3aaba993404e9cef2fef62778567bd4064790092f73c3bb15859977
Contents?: true
Size: 457 Bytes
Versions: 19
Compression:
Stored size: 457 Bytes
Contents
r_args = [] helper("help", binding) helper("rubocop", binding) helper("args", binding) summary "Auto-fixes commits between HEAD and origin branch" usage "rfix origin [opts] [path ..]" run do |opts, args, _cmd| if main = opts[:"main-branch"] branch = Rfix::Branch::Name.new(main) else branch = Rfix::Branch::MAIN end # say "Using {{red:#{branch}}} as main branch" setup(r_args, opts, args, files: args.each.to_a, reference: branch) end
Version data entries
19 entries across 19 versions & 1 rubygems