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

Function parse_cli

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

Source from the content-addressed store, hash-verified

396 }
397
398 fn parse_cli(extra: &[&'static str]) -> Cli {
399 let mut args = base_args();
400 args.extend_from_slice(extra);
401 Cli::try_parse_from(args).expect("CLI should parse")
402 }
403
404 #[test]
405 fn into_config_defaults_to_single_batches_and_blobs() {

Calls 1

base_argsFunction · 0.85