rapid_cli/commands/
templates.rs

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