tangle_indexer


git clone https://radroots.dev/git/tangle_indexer.git
Log | Files | Refs | Submodules | LICENSE

args.rs (308B)


      1 use clap::Parser;
      2 
      3 #[derive(Parser)]
      4 #[command(
      5     about = env!("CARGO_PKG_DESCRIPTION"),
      6     author = env!("CARGO_PKG_AUTHORS"),
      7     version = env!("CARGO_PKG_VERSION")
      8 )]
      9 pub struct Args {
     10     #[arg(long, help = "(Optional) Defaults to 'config.toml'", required = false)]
     11     pub config: Option<String>,
     12 }