Sha256: 19d7b59567e8a84d7e7c5887a6bd248d678102a4769d70dc441e2e2ed2b37f4d

Contents?: true

Size: 422 Bytes

Versions: 21

Compression:

Stored size: 422 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

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'twitter'))
require 'twitter/cli'

Version data entries

21 entries across 21 versions & 13 rubygems

Version Path
baron-twitter-0.4.2 bin/twitter
billymeltdown-twitter-0.4.2 bin/twitter
billymeltdown-twitter-0.4.3 bin/twitter
drnic-twitter-0.4.4.1 bin/twitter
dschn-twitter-0.4.1.1 bin/twitter
dschn-twitter-0.4.1.2 bin/twitter
dschn-twitter-0.4.1.3 bin/twitter
dschn-twitter-0.4.1 bin/twitter
gilesbowkett-gilesbowkett-twitter-0.4.4 bin/twitter
gilesbowkett-twitter-0.4.3 bin/twitter
gilesbowkett-twitter-0.4.5 bin/twitter
handcrafted-twitter-0.4.2 bin/twitter
jnunemaker-twitter-0.4.0 bin/twitter
jnunemaker-twitter-0.4.1 bin/twitter
jnunemaker-twitter-0.4.2 bin/twitter
jnunemaker-twitter-0.4.4 bin/twitter
lazyatom-twitter-0.4.2.1 bin/twitter
netshade-twitter-0.4.2.1 bin/twitter
neufelry-twitter-0.4.2 bin/twitter
pjdavis-twitter-0.4.2 bin/twitter