A command-line stackoverflow client
[[file:tty.gif]]
** Installation
cargo install stack-cli
You will need a StackExchange API token and request key, obtained via the authentication process documented [[https://api.stackexchange.com/docs/authentication][here]]. Set the following environment variables:
export STACKOVERFLOW_API_KEY=<token>
export STACKOVERFLOW_KEY=<request key>
** Usage
stack-cli swap two variables without a third variable
The first 10 results will be output to the terminal. Enter the number corresponding to the StackOverflow question you'd like to view, and it will be pretty-printed as markdown.