class RuboCop::Server::ClientCommand::Status

This class is a client command to show server process status. @api private

Public Instance Methods

run() click to toggle source
# File lib/rubocop/server/client_command/status.rb, line 18
def run
  if Server.running?
    puts "RuboCop server (#{Cache.pid_path.read}) is running."
  else
    puts 'RuboCop server is not running.'
  end
end