lsv/lib.rs
1//! Library interface for embedding lsv components and driving integration
2//! tests.
3//!
4//! The binary uses these modules internally; consumers can reuse them to
5//! configure an [`App`](crate::app::App), dispatch actions, or inspect state in
6//! tests. See the documentation under `docs/` for higher-level guides.
7
8pub mod actions;
9pub mod app;
10pub mod commands;
11pub mod config;
12// Top-level re-export for convenience in tests and examples
13pub use crate::config::load_config_from_code;
14// Keep compatibility: re-export config runtime data as `config_data`
15pub use crate::config::runtime::data as config_data;
16pub mod core;
17pub mod enums;
18pub mod input;
19pub mod keymap;
20pub mod runtime;
21pub mod trace;
22pub mod ui;
23pub mod util;
24pub use app::App;
25
26/// Dispatch a command string (single action or `;`-separated sequence)
27/// against an [`App`](crate::app::App) instance.
28pub use actions::dispatch_action;