Expand description
Native LogBrew command-line interface library.
The CLI is intentionally small and predictable so coding agents can learn it
quickly: read, watch, explain, and set cover data access and state
changes, while login, setup, and status cover local configuration.
Modules§
- help
- CLI help text kept separate from command parsing.
Structs§
- CliEnvironment
- Process environment needed by the CLI.
- Read
Options - Filters for historical read commands.
Enums§
- CliError
- CLI parsing error.
- Command
- Parsed
LogBrewcommand. - Explain
Target - Context target for
explain. - Help
Topic - Help topic for CLI usage output.
- Http
Method - HTTP method used by a CLI command.
- Read
Target - Historical data target for
read. - Runtime
Error - Runtime error for command execution.
- SetTarget
- Mutation target for
set. - Watch
Target - Live stream target for
watch.
Functions§
- execute_
command - Executes a parsed command.
- parse_
command - Errors
- write_
cli_ error - Writes a command-line parsing error for humans or agents.
- write_
runtime_ error - Writes a runtime error for humans or agents.