stellar_scaffold_cli/commands/ext/mod.rs
1use clap::Parser;
2
3pub mod ls;
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 /// List extensions configured for the active environment, showing their
14 /// version, resolution status, and supported hooks.
15 Ls(ls::Cmd),
16}
17
18#[derive(thiserror::Error, Debug)]
19pub enum Error {
20 #[error(transparent)]
21 Ls(#[from] ls::Error),
22}