class Steep::CLI

def process_check

def process_check
  Drivers::Check.new(stdout: stdout, stderr: stderr).tap do |check|
    OptionParser.new do |opts|
      opts.banner = "Usage: steep check [options] [sources]"
      opts.on("--steepfile=PATH") {|path| check.steepfile = Pathname(path) }
      opts.on("--dump-all-types") { check.dump_all_types = true }
      handle_logging_options opts
    end.parse!(argv)
    check.command_line_patterns.push *argv
  end.run
end