use tc_cli::{RunCmd, KeySubcommand, SignCmd, VanityCmd, VerifyCmd};
use structopt::StructOpt;
#[derive(Debug, StructOpt)]
pub struct Cli {
#[structopt(subcommand)]
pub subcommand: Option<Subcommand>,
#[allow(missing_docs)]
#[structopt(flatten)]
pub run: RunCmd,
}
#[derive(Debug, StructOpt)]
pub enum Subcommand {
Key(KeySubcommand),
#[structopt(
name = "inspect",
about = "Decode given block or extrinsic using current native runtime."
)]
Inspect(node_inspect::cli::InspectCmd),
#[structopt(name = "benchmark", about = "Benchmark runtime nobles.")]
Benchmark(fabric_benchmarking_cli::BenchmarkCmd),
Verify(VerifyCmd),
Vanity(VanityCmd),
Sign(SignCmd),
BuildSpec(tc_cli::BuildSpecCmd),
CheckBlock(tc_cli::CheckBlockCmd),
ExportBlocks(tc_cli::ExportBlocksCmd),
ExportState(tc_cli::ExportStateCmd),
ImportBlocks(tc_cli::ImportBlocksCmd),
PurgeChain(tc_cli::PurgeChainCmd),
Revert(tc_cli::RevertCmd),
}