From 8441abd29aea53719c19f34ec6d542a4575a23c9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 11 Feb 2026 00:15:14 +0900 Subject: define subcommands and options --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main.rs') 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); } -- cgit v1.3.1