Sha256: e9eb66d8aa3a48905bcba5e2afb39a38b8136dd29bf6ebbe36ca22baf2ad939e

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

#!/usr/bin/env ruby

lib = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)


unless ARGV[0]
  puts "Must supply an API key as first argument"
  exit
end

require 'rescue_time_api'

client = RescueTimeApi::Client.new(key: ARGV[0])

require 'pry'

Pry.start(client, quiet: true, prompt: [ proc { "RescueTimeApi::Client > " } ])

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rescue_time_api-0.0.2 bin/rescue_time_api
rescue_time_api-0.0.1 bin/rescue_time_api