extremely basic and not functional clap

This commit is contained in:
askiiart 2024-10-25 23:06:05 -05:00
parent 0dcaa0ba53
commit a2426e7b31
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
3 changed files with 134 additions and 3 deletions

View file

@ -10,6 +10,8 @@ use std::{
sync::{Arc, Mutex},
thread::{self, JoinHandle},
};
use clap::Parser;
use clap::command;
fn large_random_file_generation(path: String) {
// https://stackoverflow.com/a/65235966
@ -168,6 +170,14 @@ fn grab_datasets() {
}
}
fn main() {
grab_datasets();
/// A simple read-only benchmark testing latency, sequential reads, and random reads.
#[derive(Parser, Debug)]
struct Args {
/// A test thing
#[arg(short, long, default_value = "hellooooo")]
this_is_a_testtttt: String
}
fn main() {
let args = Args::parse();
}