Skip to main content

cargo_smith/commands/
service.rs

1use clap::Args;
2
3#[derive(Args)]
4pub struct ServiceArgs {
5    /// Name of the service
6    pub name: String,
7}
8
9pub async fn execute(args: ServiceArgs) -> anyhow::Result<()> {
10    println!(" Generating service: {}", args.name);
11    // Your service generation logic here
12    Ok(())
13}