class Spoom::Cli::Config

def show

def show
  in_sorbet_project!
  config = sorbet_config
  say("Found Sorbet config at `#{sorbet_config_file}`.")
  say("\nPaths typechecked:")
  if config.paths.empty?
    say(" * (default: .)")
  else
    config.paths.each do |path|
      say(" * #{path}")
    end
  end
  say("\nPaths ignored:")
  if config.ignore.empty?
    say(" * (default: none)")
  else
    config.ignore.each do |path|
      say(" * #{path}")
    end
  end
  say("\nAllowed extensions:")
  if config.allowed_extensions.empty?
    say(" * .rb (default)")
    say(" * .rbi (default)")
  else
    config.allowed_extensions.each do |ext|
      say(" * #{ext}")
    end
  end
end