Skip to main content

Crate libgrite_cli

Crate libgrite_cli 

Source
Expand description

Programmatic CLI library for grite

This crate exposes the command logic from the grite CLI as a reusable Rust library. It can be used by other Rust programs (e.g., multi-agent harnesses) to drive grite natively without shelling out to subprocesses.

Each command module provides both synchronous and (with the async feature) asynchronous variants for heavy I/O operations.

Re-exports§

pub use context::GriteContext;
pub use types::*;

Modules§

actor
agents_md
AGENTS.md template content.
context
context_cmd
daemon
db
dep
doctor
event_helper
Helper for inserting events into both sled store and Git WAL
export
init
issue
lock
rebuild
snapshot
sync
types
Shared option and result types for all commands.

Enums§

GriteError
Re-export core error type for convenience. Main error type for grite operations