1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/hn.md
2025-04-25 05:54:18 +03:00

20 lines
412 B
Markdown

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