Skip to main content

Module commands

Module commands 

Source
Expand description

The CLI commands. Each takes a plain &HashiverseClient so the same code runs against the production client (via HashiverseBuilder) and against mem-transport clients in tests.

Structs§

CliPost
CliPostSubmitted
CliTrendingHashtag

Functions§

cli_post_from_timeline_entry
hashtag_timeline
normalise_hashtag
Strips one leading # and surrounding whitespace.
post
run_command
Runs one command and returns its output, formatted as text or JSON. Shared by the one-shot entry point and the REPL.
trending
user_timeline