all kinds of different language scripts
This commit is contained in:
parent
5400f80b55
commit
2a76649221
8 changed files with 143 additions and 1 deletions
13
scripts/script.rs
Executable file
13
scripts/script.rs
Executable file
|
@ -0,0 +1,13 @@
|
|||
use clap::Parser;
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
#[clap(version)]
|
||||
struct Args {
|
||||
#[clap(short, long, help = "Path to config")]
|
||||
config: Option<PathBuf>,
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let args = Args::parse();
|
||||
println!("{:?}", args);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue