| 13 | |
| 14 | #[derive(StructOpt)] |
| 15 | struct 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 | |
| 30 | fn main() -> Result<(), Error> { |
| 31 | let Cli { |
nothing calls this directly
no outgoing calls
no test coverage detected