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

Version Path
anthonycrumley-twitter-0.3.8 bin/twitter
billymeltdown-twitter-0.3.8.1 bin/twitter
dschn-twitter-0.3.7.1 bin/twitter
dschn-twitter-0.3.7.2 bin/twitter
dustin-twitter-0.3.2.1 bin/twitter
dustin-twitter-0.3.2.2 bin/twitter
dustin-twitter-0.3.7 bin/twitter
handcrafted-twitter-0.4.0 bin/twitter
jnunemaker-twitter-0.2.8 bin/twitter
jnunemaker-twitter-0.3.1 bin/twitter
jnunemaker-twitter-0.3.4 bin/twitter
jnunemaker-twitter-0.3.5 bin/twitter
jnunemaker-twitter-0.3.6 bin/twitter
jnunemaker-twitter-0.3.7 bin/twitter
jnunemaker-twitter-0.3.8 bin/twitter
pjdavis-twitter-0.3.8 bin/twitter
pjdavis-twitter-0.3.9 bin/twitter