referrerpolicy=no-referrer-when-downgrade

solochain_template_node/
cli.rs

1#[derive(Debug, clap::Parser)]
2pub struct Cli {
3	#[command(subcommand)]
4	pub subcommand: Option<Subcommand>,
5
6	#[clap(flatten)]
7	pub run: sc_cli::RunCmd,
8}
9
10#[derive(Debug, clap::Subcommand)]
11#[allow(clippy::large_enum_variant)]
12pub enum Subcommand {
13	/// Key management cli utilities
14	#[command(subcommand)]
15	Key(sc_cli::KeySubcommand),
16
17	/// Build a chain specification.
18	/// DEPRECATED: `build-spec` command will be removed after 1/04/2026. Use `export-chain-spec`
19	/// command instead.
20	#[deprecated(
21		note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
22	)]
23	BuildSpec(sc_cli::BuildSpecCmd),
24
25	/// Export the chain specification.
26	ExportChainSpec(sc_cli::ExportChainSpecCmd),
27
28	/// Validate blocks.
29	CheckBlock(sc_cli::CheckBlockCmd),
30
31	/// Export blocks.
32	ExportBlocks(sc_cli::ExportBlocksCmd),
33
34	/// Export the state of a given block into a chain spec.
35	ExportState(sc_cli::ExportStateCmd),
36
37	/// Import blocks.
38	ImportBlocks(sc_cli::ImportBlocksCmd),
39
40	/// Remove the whole chain.
41	PurgeChain(sc_cli::PurgeChainCmd),
42
43	/// Revert the chain to a previous state.
44	Revert(sc_cli::RevertCmd),
45
46	/// Sub-commands concerned with benchmarking.
47	#[command(subcommand)]
48	Benchmark(frame_benchmarking_cli::BenchmarkCmd),
49
50	/// Db meta columns information.
51	ChainInfo(sc_cli::ChainInfoCmd),
52}