Skip to main content

Crate graphrag_cli

Crate graphrag_cli 

Source
Expand description

GraphRAG CLI library entry point.

Exposes run so the graphrag meta-crate (and tests) can invoke the full CLI without going through a subprocess.

Modules§

action
Action types for event-driven architecture
app
Main application logic and event loop
commands
Slash command system for the TUI
config
Configuration loading and management
handlers
Business logic handlers for GraphRAG operations and file management
mode
Input utilities for the TUI
query_history
Query history management
theme
Color themes and styling for the TUI
tui
Terminal User Interface management
ui
UI module containing components and layout utilities
workspace
Workspace management

Structs§

Cli

Enums§

Commands
WorkspaceCommands

Functions§

install_panic_hook
Restore the terminal on panic (called at the top of run).
run
Run the full GraphRAG CLI. Called by both the graphrag-cli binary and the graphrag meta-crate binary.