Command line interface to v2ex.com
Built on top of v2ex API
gem install v2ex # you might need to use sudo
If you are the lazy kind like me, try this
alias v=v2ex
Compatible with Ruby 1.8.7+ and Ruby 1.9+
List latest topics
v2ex latest
Show a topic and its replies
v2ex topic TOPIC_ID
List topics of a user
v2ex ut livid
List topics of a node
v2ex nt xbox360
Show user info
v2ex user livid
Open topic/node/user in your web browser (Mac only)
v2ex open t TOPIC_ID
v2ex open u USERNAME
v2ex open n NODE_NAME
Show all nodes
v2ex nodes
For more information, pass --help
v2ex --help
REPL mode (Read, Eval, Print, Loop)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Made with love through Readme Driven Development