diff options
| author | 2025-11-06 11:11:38 +0800 | |
|---|---|---|
| committer | 2025-11-06 11:11:38 +0800 | |
| commit | 3d4081897e267c7fae5f11a7dd55826574e6941b (patch) | |
| tree | 72c84770cf2313f1632600c2d2e63f9c576cc07b /src/main.rs | |
| download | mvp-3d4081897e267c7fae5f11a7dd55826574e6941b.tar.gz mvp-3d4081897e267c7fae5f11a7dd55826574e6941b.zip | |
Initial commit
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..c3c3fd4 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,13 @@ +use clap::Parser; + +#[derive(Parser, Debug)] +#[command(name = "mt")] +struct Args { + #[arg(short, long)] + name: String, +} + +fn main() { + let args = Args::parse(); + println!("Hello from CLI, {}!", args.name); +}
\ No newline at end of file |
