Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.414 kb
#!/usr/bin/env ruby
# if we have stdin, let's prepend it to the message for post
if ARGV[0] && ARGV[0] == 'post' && !STDIN.tty?
ARGV[1] = "#{STDIN.read}#{ARGV[1]}"
end
# if we have stdin, let's prepend it to the message for d
if ARGV[0] && ARGV[0] == 'd' && !STDIN.tty?
ARGV[2] = "#{STDIN.read}#{ARGV[2]}"
end
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'twitter'
require 'twitter/cli'
Jump to Line
Something went wrong with that request. Please try again.