Tweety is a simple command line tool to manage Twitter accounts. This tools allows you to post new tweets, retweet, and track some words via Twitter stream.
To use this tool you should set the following variables in your environment.
TWITTER_CONSUMER_KEY=...
TWITTER_CONSUMER_SECRET=...
TWITTER_ACCESS_TOKEN=...
TWITTER_ACCESS_TOKEN_SECRET=...
To get those values you need to create a new app in Twitter and generate a new access token.
$ tweety post -message "some message"
$ tweety sniff -word "#golang,#reactjs"
soon :P