frame-cli 0.1.0

CLI for Frame — scaffold applications, manage components, run dev server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Frame CLI — scaffold applications without hiding typed failures.

use clap::Parser;
use frame_cli::Cli;

fn main() -> std::process::ExitCode {
    match frame_cli::execute(Cli::parse()) {
        Ok(path) => {
            println!("created {}", path.display());
            std::process::ExitCode::SUCCESS
        }
        Err(error) => {
            eprintln!("frame: {error}");
            std::process::ExitCode::FAILURE
        }
    }
}