mod vault_tui

module vault_tui

Functions

fn run(config: VaultTuiConfig) -> anyhow::Result<()>
fn run_scripted(terminal: &mut Terminal<ratatui::backend::TestBackend>, config: VaultTuiConfig, tokens: &[crate::scripted::ScriptToken]) -> anyhow::Result<String>

Drives the vault manager App through a pre-parsed key script against an in-memory TestBackend, returning the final rendered frame as text.

The vault TUI has no background worker thread (all vault operations are synchronous), so <wait-idle> is a no-op single poll here; it is supported for script portability with the generator wizard’s scripts.

Structs and Unions

struct VaultTuiConfig
open_options: VaultOpenOptions
profile: OpsProfile
audit_jsonl: Option<PathBuf>
require_audit_sink: bool

Implementations

impl VaultTuiConfig

Functions

fn new(open_options: VaultOpenOptions) -> Self