meissadia/tumblr_draftking

View on GitHub
bin/dk

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby
require 'rubygems'
if ENV['DEV_ENV']
  # DEV ONLY - Run development source using system installed cli
  rdir = ENV['DIR_RUBY']
  require File.join(Dir.home, "#{rdir}/tumblr_draftking/lib/tumblr_draftking")
else
  require_relative '../lib/tumblr_draftking'
end

# Display 'update available'
require 'open-uri'
DK::CLI.start(ARGV)