| 7 | #[derive(Debug, Parser)] |
| 8 | #[clap(name = "bundle", verbatim_doc_comment)] |
| 9 | struct CmdlineOptions { |
| 10 | /// The log level |
| 11 | #[clap(short, long, default_value_t = tracing::Level::INFO)] |
| 12 | log_level: tracing::Level, |
| 13 | |
| 14 | /// Input file to read input from. Defaults to stdin. |
| 15 | #[clap(short, long)] |
| 16 | input: Option<PathBuf>, |
| 17 | |
| 18 | /// Output file to write result to. Defaults to stdout. |
| 19 | #[clap(short, long)] |
| 20 | output: Option<PathBuf>, |
| 21 | } |
| 22 | |
| 23 | fn main() -> eyre::Result<()> { |
| 24 | color_eyre::install()?; |
nothing calls this directly
no outgoing calls
no test coverage detected