Skip to main content

Crate mermaid_cli

Crate mermaid_cli 

Source

Re-exports§

pub use app::Config;
pub use app::load_config;
pub use app::persist_last_model;

Modules§

app
cli
clipboard
Clipboard access for image and text paste
constants
Constants module to avoid magic numbers in the codebase
domain
Pure-function reducer: fn update(State, Msg) -> (State, Vec<Cmd>).
effect
The effect runner: dispatches Cmd values into tokio tasks.
mcp
models
ollama
prompts
System prompt for Mermaid AI assistant
providers
Provider-facing traits: ModelProvider + ToolExecutor.
render
Pure view: fn render(&State, &mut RenderCache, &mut Frame).
session
utils