From b25f575e41f078be3e47d843fda1827881f23646 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 29 Jul 2025 21:54:30 +0200 Subject: Add the exercises command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subcommands have been added to it which are similar to the ones on words on purpose. Signed-off-by: Miquel Sabaté Solà --- crates/cli/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crates/cli/src/main.rs') diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs index db1de33..ffbcdae 100644 --- a/crates/cli/src/main.rs +++ b/crates/cli/src/main.rs @@ -1,3 +1,4 @@ +mod exercises; mod init; mod nuke; mod run; @@ -48,6 +49,10 @@ fn main() { let rest: Vec = args.collect(); init::run(rest); } + "exercises" => { + let rest: Vec = args.collect(); + exercises::run(rest); + } "nuke" => { let rest: Vec = args.collect(); nuke::run(rest); -- cgit v1.2.3