1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use structopt::StructOpt;

use crate::command::types::RegistryOpt;

#[derive(Debug, StructOpt)]
#[structopt(name = "bridger", about = "Darwinia bridger")]
pub enum Opt {
    /// Bridger registry,
    Registry {
        /// Commands of registry
        #[structopt(flatten)]
        command: RegistryOpt,
    },
    /// List all bridges
    List,
}