version: 0.0.1
Note: This is the first version of
twit-cli
(duh), so at the moment you can only send tweets. Over the next coming weeks, many new features will be added. This means versions will be updated rapidly. Each new feature will be an uptick. So ready yournpm update
command! On with theREADME
...
Do you love running applications from the command line? Do you love doing everything with your keyboard? I sure do! If you don't then this tool probably isn't for you. The twit-cli
tool features all the great things you like to do on twitter, but in the comfort, love, and safety of your terminal.
npm install twit-cli -g --production
Omit the
--production
flag if you would like to run tests.
Create a .twit-cli
dot file in your home directory with the following values that correspond to your Twitter application account. If you haven't created one yet, create it here. In order for twit-cli
to work, you must set the application to read, write, and direct messages. Without that setting, twit-cli
will fail to work and you will have to using Twitter from some application that is obviously inferior to cli.
{
"consumer_key": "KEYZZZ",
"consumer_secret": "SECRETZZZ",
"access_token": "SECRET_KEYZZZZ",
"access_token_secret": "SECRET_TOKENZZZ"
}
Usage: twit-cli [options] [command]
Commands:
tweet [options] <status> 140 character message.
Options:
-h, --help output usage information
-V, --version output the version number
-j, --json Get response as JSON
-v, --verbose Verbose logging
Usage: tweet [options] <status>
Options:
-h, --help output usage information
-j, --json Get response as JSON
-v, --verbose Verbose logging
-c, --count Count characters in Tweet (will not send)
Test ensure command line args work and retrieve data. To run tests, clone
this project and type npm test
.
Trevor Landau (Author)
I created twit-cli
mostly as an exercise to create a node.js
cli tool, but also so I could tweet while in my terminal, because who doesn't want to do everything from the CLI.