1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use super::RapidCommand;
use crate::cli::{logo, Config};
use clap::{ArgMatches, Command};
pub struct Templates {}
impl RapidCommand for Templates {
fn cmd() -> clap::Command {
Command::new("templates")
.about("SaaS templates for the rapid framework.")
}
fn execute(_: &Config, args: &ArgMatches) -> Result<(), crate::cli::CliError<'static>> {
println!("{}", logo());
println!("> Welcome to RAPID templates");
Ok(())
}
}