class Coveralls::CommandLine

def open_token_based_url url

def open_token_based_url url
  config = Coveralls::Configuration.configuration
  if config[:repo_token]
    url = url.gsub("%@", config[:repo_token])
    `open #{url}`
  else
    Coveralls::Output.puts "No repo_token configured."
  end
end