# File lib/twitter/command.rb, line 39 def post config = create_or_find_config if ARGV.size == 0 puts %(\n You didn't enter a message to post.\n\n Usage: twitter post "You're fabulous message"\n) exit(0) end post = ARGV.shift status = Twitter::Base.new(config['email'], config['password']).post(post) puts "\nGot it! New twitter created at: #{status.created_at}\n" end