Sha256: 7932c5aa7acc41843df9674c04c438acddb7acb1c87126c220dfcf0f700c026b

Contents?: true

Size: 447 Bytes

Versions: 19

Compression:

Stored size: 447 Bytes

Contents

r_args = []

helper("help", binding)
helper("rubocop", binding)
helper("args", binding)

param :branch
usage "rfix branch BRANCH [opts] [-p path ..]"
option :p, :path, "Path to be passed to RuboCop", argument: :required, multiple: true
summary "Fix changes made between HEAD and <branch>"

run do |opts, args, _cmd|
  branch = Rfix::Branch::Reference.new(args[:branch])
  setup(r_args, opts, args, files: opts[:path] || [], reference: branch)
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rfix-1.4.1 lib/rfix/commands/branch.rb
rfix-1.4.0.pre.201 lib/rfix/commands/branch.rb
rfix-1.4.0 lib/rfix/commands/branch.rb
rfix-1.3.0.pre.199 lib/rfix/commands/branch.rb
rfix-1.2.6.pre.198 lib/rfix/commands/branch.rb
rfix-1.2.6 lib/rfix/commands/branch.rb
rfix-1.2.2.pre.174 lib/rfix/commands/branch.rb
rfix-1.2.5 lib/rfix/commands/branch.rb
rfix-1.2.4 lib/rfix/commands/branch.rb
rfix-1.2.3.pre lib/rfix/commands/branch.rb
rfix-1.2.2.pre lib/rfix/commands/branch.rb
rfix-1.2.2.pre.172 lib/rfix/commands/branch.rb
rfix-1.2.2 lib/rfix/commands/branch.rb
rfix-1.1.0.pre.150 lib/rfix/commands/branch.rb
rfix-1.2.0 lib/rfix/commands/branch.rb
rfix-1.1.4.pre lib/rfix/commands/branch.rb
rfix-1.1.1.pre lib/rfix/commands/branch.rb
rfix-1.1.0.pre.149 lib/rfix/commands/branch.rb
rfix-1.1.0.pre.147 lib/rfix/commands/branch.rb