apple-code-assistant 0.1.1

Apple Code Assistant - Professional CLI tool powered by Apple Intelligence for on-device code generation
Documentation
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)
}