Skip to main content

Module cli

Module cli 

Source
Expand description

CLI argument definitions and command dispatchers.

Defines Cli, Command, and KeysOperation via clap derives, plus the async dispatcher functions that call into crate::api, crate::storage, and crate::output.

Structs§

Cli
Top-level CLI entry point parsed by clap.

Enums§

Command
Top-level subcommands.
KeysOperation
Operations available under the keys subcommand.

Functions§

run_docs
Dispatches the docs subcommand — fetches library documentation via the API.
run_keys
Dispatches keys subcommand operations — no HTTP client or API keys needed.
run_library
Dispatches the library subcommand — searches libraries via the API.