use crossterm::style::{Color, Stylize};
use modcli::output::{print, themes};
use modcli::{set_startup_banner, ModCli};
fn main() {
set_startup_banner(|| {
let _guard = themes::ThemeGuard::apply("blue");
let art = r#"
▗▖ ▗▖ ▗▄▄▖ ▗▄▄▄
▐▛▚▞▜▌▐▌ ▐▌▐▌ █
▐▌ ▐▌▐▌ ▐▌▐▌ █
▐▌ ▐▌▝▚▄▄▞▘▐▙▄▄▀
┳┳┓┏┓┳┓ ┳┓┳┳┏┓┏┳┓
┃┃┃┃┃┃┃ ┣┫┃┃┗┓ ┃
┛ ┗┗┛┻┛ ┛┗┗┛┗┛ ┻
"#;
print::line(&art.with(Color::Cyan).bold().to_string());
print::line("Welcome to mod-cli! Type 'help' to see available commands.");
themes::Theme::reset();
println!();
});
let mut cli = ModCli::new();
cli.run(vec!["help".into()]);
}