Show HN: Pg-CLI – Read PG's essays in your terminal
github.comHacked this [0] together for fun this afternoon, mainly because I wanted to play around with the yargs [1] library to build a simple command line tool.
It basically just provides an interface to list and read Paul Graham's essays [2] in the terminal as markdown. ¯\_(ツ)_/¯
To list all the essays (assuming you have npm/npx installed): `npx pg-essays list`
To read a specific essay (e.g. "Beating the Averages"): `npx pg-essays read avg`
To read a random popular essay: `npx pg-essays read random`
That's about it!
[0] https://github.com/reichert621/pg-cli
[1] https://github.com/yargs/yargs
[2] http://www.paulgraham.com/articles.html
No comments yet.