Sha256: 9f4c664a43a82c1e512232e5b7b4dc9917fc1255f7f2e083cd898f179bcc4192

Contents?: true

Size: 245 Bytes

Versions: 1

Compression:

Stored size: 245 Bytes

Contents

#!/usr/bin/env ruby

require_relative "../lib/shared_count/cli"

urls = ARGF.readlines
urls.reject! { |url| url.empty? }
urls.map! { |url| url.start_with?("http") ? url : "http://#{url}" }

csv = SharedCount::Cli.run(urls)
$stdout << "#{csv}\n"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shared_count-cli-0.0.2 bin/shared_count-cli