diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-11 00:15:14 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-11 00:15:14 +0900 |
| commit | 8441abd29aea53719c19f34ec6d542a4575a23c9 (patch) | |
| tree | 2d5704acdae268253b69c4bb9a37653635037138 /src/main.rs | |
| parent | 9dacb9293f9b995c6c810227f73b4aa5cf019bab (diff) | |
| download | php-mozart-8441abd29aea53719c19f34ec6d542a4575a23c9.tar.gz php-mozart-8441abd29aea53719c19f34ec6d542a4575a23c9.tar.zst php-mozart-8441abd29aea53719c19f34ec6d542a4575a23c9.zip | |
define subcommands and options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index e7a11a9..289d047 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,7 @@ +use clap::Parser; +use mozart::commands; + fn main() { - println!("Hello, world!"); + let cli = commands::Cli::parse(); + commands::execute(&cli.command); } |
