Class: RuboCop::Git::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/rubocop/git/cli.rb

Instance Method Summary collapse

Instance Method Details

#run(args = ARGV.dup) ⇒ Object



5
6
7
8
9
# File 'lib/rubocop/git/cli.rb', line 5

def run(args = ARGV.dup)
  @options = RuboCop::Git::Options.new
  parse_arguments(args)
  RuboCop::Git::Runner.new.run(@options)
end