MCPcopy Create free account
hub / github.com/untitaker/hyperlink / Cli

Class Cli

tools/html-bench/src/main.rs:15–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14#[derive(StructOpt)]
15struct Cli {
16 /// How many files to create.
17 #[structopt(long = "file-count")]
18 file_count: usize,
19 /// How many files a folder may have. This indirectly controls folder nesting.
20 #[structopt(long = "max-folder-size")]
21 max_folder_size: usize,
22 /// How many links a file should contain.
23 #[structopt(long = "link-density")]
24 link_density: usize,
25 /// A random seed to control link selection in files.
26 #[structopt(long = "seed")]
27 seed: Option<u64>,
28}
29
30fn main() -> Result<(), Error> {
31 let Cli {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected