stellar_scaffold_cli/commands/generate/
mod.rs

1use clap::Parser;
2
3pub mod contract;
4
5#[derive(Parser, Debug)]
6pub struct Cmd {
7    #[command(subcommand)]
8    pub cmd: Command,
9}
10
11#[derive(Parser, Debug)]
12pub enum Command {
13    /// Generate a new contract from examples or wizard
14    Contract(Box<contract::Cmd>),
15}
16
17#[derive(thiserror::Error, Debug)]
18pub enum Error {
19    #[error(transparent)]
20    Contract(#[from] contract::Error),
21}