Show HN: Pg-CLI – Read PG's essays in your terminal (github.com)
Hacked 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
0 comments
[ 3.0 ms ] story [ 4.4 ms ] threadNo comments yet.