MCPcopy Create free account
hub / github.com/Notgnoshi/generative / CmdlineOptions

Class CmdlineOptions

tools/bundle.rs:9–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#[derive(Debug, Parser)]
8#[clap(name = "bundle", verbatim_doc_comment)]
9struct 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
23fn main() -> eyre::Result<()> {
24 color_eyre::install()?;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected