2016-02-23 00:13:25 -05:00
|
|
|
# hn
|
|
|
|
|
|
|
|
> Command-line interface for Hacker News.
|
2025-04-25 05:54:18 +03:00
|
|
|
> More information: <https://github.com/rafaelrinaldi/hn-cli#usage>.
|
2016-02-23 00:13:25 -05:00
|
|
|
|
|
|
|
- View stories on Hacker News:
|
|
|
|
|
|
|
|
`hn`
|
|
|
|
|
|
|
|
- View _number_ of stories on Hacker News:
|
|
|
|
|
2025-04-25 05:54:18 +03:00
|
|
|
`hn {{[-l|--limit]}} {{number}}`
|
2016-02-23 00:13:25 -05:00
|
|
|
|
|
|
|
- View stories on Hacker News, and keep the list open after selecting a link:
|
|
|
|
|
2025-04-25 05:54:18 +03:00
|
|
|
`hn {{[-k|--keep-open]}}`
|
2016-02-23 00:13:25 -05:00
|
|
|
|
|
|
|
- View stories on Hacker News sorted by submission date:
|
|
|
|
|
|
|
|
`hn --latest`
|