Skip to main content

Crate logbrew_cli

Crate logbrew_cli 

Source
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.
NativeDebugLookupOptions
Shared exact native debug-artifact lookup scope.
NativeDebugUploadOptions
Apple native debug-artifact upload options.
ProjectCreateOptions
Fields accepted by secure project creation.
ProjectSetupSeenOptions
Optional metadata for backend-owned project setup tracking.
ReadOptions
Filters for historical read commands.
SupportContextReplyOptions
Fields accepted when replying with requested support context.
SupportTicketCreateOptions
Fields accepted when creating a support ticket.
SupportTicketListOptions
Filters for support-ticket history.
WatchOptions
Client-side filters for live watch commands.

Enums§

CliError
CLI parsing error.
Command
Parsed LogBrew command.
ExplainTarget
Context target for explain.
HelpTopic
Help topic for CLI usage output.
HttpMethod
HTTP method used by a CLI command.
LoginProvider
OAuth provider used for native CLI browser login.
NativeDebugArtifactsTarget
Apple native debug-artifact operation.
ReadTarget
Historical data target for read.
RuntimeError
Runtime error for command execution.
SetTarget
Mutation target for set.
SupportTarget
Support-ticket operation.
SupportTicketLifecycleStatus
User-owned support-ticket lifecycle status.
WatchTarget
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_native_debug_runtime_error
Writes one body-free native debug-artifact JSON error for agents.
write_runtime_error
Writes a runtime error for humans or agents.