solutions/node/src/cli.rs

12 lines
213 B
Rust
Raw Normal View History

2020-03-05 16:53:25 +00:00
use sc_cli::{RunCmd, Subcommand};
use structopt::StructOpt;
#[derive(Debug, StructOpt)]
pub struct Cli {
#[structopt(subcommand)]
pub subcommand: Option<Subcommand>,
#[structopt(flatten)]
pub run: RunCmd,
}