diff options
| author | Joe Carstairs <me@joeac.net> | 2026-09-04 18:10:08 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-09-04 18:10:08 +0100 |
| commit | d6426030b3572545a58234a780b94e746135f13b (patch) | |
| tree | 2d1a29064624c530479492d5c201eb37758411eb /src | |
| parent | 7e9c504fc7d840ebf9138ad53077477d4277187b (diff) | |
add clap crate
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index e7a11a9..705b33b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,11 @@ +use clap::Parser; + +#[derive(Parser, Debug)] +#[command(version, about, long_about = None)] +struct Args { +} + fn main() { + let _args = Args::parse(); println!("Hello, world!"); } |
