TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Pg-CLI – Read PG's essays in your terminal

3 点作者 areichert超过 1 年前
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.<p>It basically just provides an interface to list and read Paul Graham&#x27;s essays [2] in the terminal as markdown. ¯\_(ツ)_&#x2F;¯<p>To list all the essays (assuming you have npm&#x2F;npx installed): `npx pg-essays list`<p>To read a specific essay (e.g. &quot;Beating the Averages&quot;): `npx pg-essays read avg`<p>To read a random popular essay: `npx pg-essays read random`<p>That&#x27;s about it!<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;reichert621&#x2F;pg-cli">https:&#x2F;&#x2F;github.com&#x2F;reichert621&#x2F;pg-cli</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;yargs&#x2F;yargs">https:&#x2F;&#x2F;github.com&#x2F;yargs&#x2F;yargs</a><p>[2] <a href="http:&#x2F;&#x2F;www.paulgraham.com&#x2F;articles.html" rel="nofollow noreferrer">http:&#x2F;&#x2F;www.paulgraham.com&#x2F;articles.html</a>

暂无评论

暂无评论