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§
- Grite
Error - Re-export core error type for convenience. Main error type for grite operations