Start hacking with hn command:
$ hn --help
Usage: hn [OPTIONS] COMMAND [ARGS]...
HackerNews CLI - for hackers
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
comment comment story on HackerNews
comments show comments for the story
go go to the story on HackerNews
stories list stories
$ hn stories --help
Usage: hn stories [OPTIONS]
list stories
Options:
-s, --sort_by [newest|best] sort type
-l, --limit INTEGER number of top stories to show
--help Show this message and exit.
$ hn go --help
Usage: hn go [OPTIONS] STORY_ID
go to the story on HackerNews
Options:
--help Show this message and exit.
$ hn comments --help
Usage: hn comments [OPTIONS] STORY_ID
show comments for the story
Options:
--help Show this message and exit.
$ hn comment --help
Usage: hn comment [OPTIONS] STORY_ID
comment story on HackerNews
Options:
--help Show this message and exit.