topcoat-cli 0.11.0

A modular, batteries-included Rust web framework for server-rendered apps.
Documentation
mod check;

pub(crate) use check::relative_location;
use clap::{Args, Subcommand};

#[derive(Args)]
pub struct L10nCommand {
    #[command(subcommand)]
    command: L10nSubcommand,
}

#[derive(Subcommand)]
enum L10nSubcommand {
    /// Check Fluent translations used by the compiled app
    Check(check::CheckArgs),
}

impl L10nCommand {
    pub async fn run(self) {
        match self.command {
            L10nSubcommand::Check(args) => check::run(args).await,
        }
    }
}