Rust AppView - highly experimental!
1use clap::Parser; 2 3#[derive(Debug, Parser)] 4pub struct Cli { 5 /// Run backfill threads 6 #[arg(long, default_value_t = false)] 7 pub backfill: bool, 8 /// Run the firehose consumer and indexer 9 #[arg(long, default_value_t = false)] 10 pub indexer: bool, 11 /// Connect to label services and ingest labels 12 #[arg(long, default_value_t = false)] 13 pub labels: bool, 14} 15 16pub fn parse() -> Cli { 17 Cli::parse() 18}