Skip to main content

Module cli

Module cli 

Source
Expand description

Command-line surface (frozen) + mechanical arg→params conversion.

The clap structs here define the stable command surface. Rendering and dispatch behavior is wired in [crate::main] / crate::output (owned by the cli agent), but the flags, defaults, and the arg→FetchParams mapping below are foundation.

Structs§

CacheArgs
Cli
An AI-friendly RSS/Atom feed CLI.
DiscoverArgs
FetchArgs
SchemaArgs
ShowArgs

Enums§

CacheAction
Command
ContentArg
Content extraction format, as selected on the command line.
FormatArg
Output format, as selected on the command line.

Functions§

parse_duration
Parse a simple duration like 30s, 15m, 2h, 7d, 1w.
parse_since
Parse a --since value: a relative duration (2h, 7d) or an ISO-8601 instant.