frame-cli 0.3.0

CLI for Frame — five intention-verbs over one application: frame new scaffolds it, frame run serves it, frame test proves it (real browser included), frame check verifies it statically, frame doctor walks the prerequisites
Documentation
//! Routes a parsed command line to its verb.

use crate::cli::{Cli, Command};
use crate::error::CliError;

/// Executes a parsed CLI command.
///
/// # Errors
///
/// Returns the verb's typed refusal or failure.
pub fn execute(cli: Cli) -> Result<(), CliError> {
    match cli.command {
        Command::New { name } => super::new::new(&name),
        Command::Run => super::run::run(),
        Command::Test(scope) => super::test::test(scope),
        Command::Check => super::check::check(),
        Command::Doctor => super::doctor::doctor(),
        Command::Build => super::build::build(),
        Command::Host { config } => super::host::host(&config),
    }
}