1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! Terminal UI: branding, theme, code preview, REPL mod branding; mod repl; pub use branding::{print_code_preview, print_logo, Theme}; use anyhow::Result; use crate::config::Config; /// Run interactive mode (REPL). Shows logo then runs the command loop. pub fn run_interactive(theme: Theme, config: &Config) -> Result<()> { print_logo(theme); repl::run(theme, config) }