Module: RuboCop::CLI::Command Private
Do not use. This module is for internal use only.
Overview
Home of subcommands in the CLI.
Class Method Summary
-
.run(env, name)
Internal use only
Find the command with a given name and run it in an environment.
- .class_for(name) private Internal use only
Class Method Details
.class_for(name) (private)
[ GitHub ]# File 'lib/rubocop/cli/command.rb', line 16
def class_for(name) Base.by_command_name(name) end
.run(env, name)
Find the command with a given name and run it in an environment.