forc_node/local/cmd.rs
1use clap::Parser;
2use std::path::PathBuf;
3
4#[derive(Parser, Debug, Clone)]
5pub struct LocalCmd {
6 #[clap(long)]
7 pub chain_config: Option<PathBuf>,
8 #[clap(long)]
9 pub port: Option<u16>,
10 #[clap(long)]
11 /// If a db path is provided local node runs in persistent mode.
12 pub db_path: Option<PathBuf>,
13}