Sha256: e894ddfcd764e0ea1e58e1bafe5c012be60c3bb4c59bcdd55ae8edb1a786661f

Contents?: true

Size: 237 Bytes

Versions: 4

Compression:

Stored size: 237 Bytes

Contents

require_relative "./api"

username = ARGV.first
github = Github::Api.new

begin
  github.user_repos(username).each do |repository|
    puts repository.to_s
  end
rescue Dialers::NotFoundError
  puts "Not Found Username #{username}."
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dialers-0.2.2 examples/github/usage.rb
dialers-0.1.2 examples/github/usage.rb
dialers-0.1.1 examples/github/usage.rb
dialers-0.1.0 examples/github/usage.rb