Sha256: fefcb0cc13743060bd9baacb4da67b44c0a37e9836907c22faae36c59ebe6cbc

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

#!/usr/bin/env ruby
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'gista'

begin
  authoriser = Gista::TokenRequest.new(Gista::LoginPrompt.new)
  token      = Gista::UserToken.new(authoriser).token
  options    = Gista::Options.new(ARGV).options
  puts Gista.post_and_get_url(token, options)
rescue StandardError => e
  abort e.message
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gista-1.0.0 bin/gista