2025-03-14 21:59:59 -06:00
|
|
|
# hn
|
|
|
|
|
|
|
|
|
|
> Command-line interface for Hacker News.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://github.com/rafaelrinaldi/hn-cli#usage>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- View stories on Hacker News:
|
|
|
|
|
|
|
|
|
|
`hn`
|
|
|
|
|
|
|
|
|
|
- View _number_ of stories on Hacker News:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`hn {{[-l|--limit]}} {{number}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- View stories on Hacker News, and keep the list open after selecting a link:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`hn {{[-k|--keep-open]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- View stories on Hacker News sorted by submission date:
|
|
|
|
|
|
|
|
|
|
`hn --latest`
|