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

use crate::types::BridgeName;

/// Bridge darwinia-crab options
#[derive(Debug, StructOpt)]
#[structopt(name = "bridge-darwinia-crab", about = "Bridge darwinia-crab")]
pub enum Opts {
    /// Init bridge darwinia-crab
    Init {
        /// Bridge, support darwinia-to-crab crab-to-darwinia
        #[structopt()]
        bridge: BridgeName,
    },
    /// Start bridge darwinia-crab
    Start,
}