| 47 | |
| 48 | #[derive(Parser, Debug)] |
| 49 | struct Args { |
| 50 | /// Path to the directory containing historical blocks for benchmarking |
| 51 | #[cfg(feature = "bench")] |
| 52 | #[arg(long)] |
| 53 | pub bench_block_dir: Option<String>, |
| 54 | /// Path to the log directory |
| 55 | #[arg(long)] |
| 56 | pub log_dir: Option<String>, |
| 57 | /// Path to the data directory for test |
| 58 | #[arg(long, default_value = "/tmp/summit_withdraw_test")] |
| 59 | pub data_dir: String, |
| 60 | } |
| 61 | |
| 62 | fn main() -> Result<(), Box<dyn std::error::Error>> { |
| 63 | let args = Args::parse(); |
nothing calls this directly
no outgoing calls
no test coverage detected