MCPcopy Create free account
hub / github.com/base/base / parse_cli

Function parse_cli

bin/batcher/src/cli.rs:426–430  ·  view source on GitHub ↗
(extra: &[&'static str])

Source from the content-addressed store, hash-verified

424 }
425
426 fn parse_cli(extra: &[&'static str]) -> Cli {
427 let mut args = base_args();
428 args.extend_from_slice(extra);
429 Cli::try_parse_from(args).expect("CLI should parse")
430 }
431
432 #[test]
433 fn into_config_defaults_to_single_batches_and_blobs() {

Calls 1

base_argsFunction · 0.85