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 |
No comments yet