Sha256: 7d860373d72038b7fbf3a8bd66e4714eafa66582a9fe83db88bfa67d48597d2b
Contents?: true
Size: 414 Bytes
Versions: 17
Compression:
Stored size: 414 Bytes
Contents
#!/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'
Version data entries
17 entries across 17 versions & 7 rubygems