rust/rhg/src/main.rs
changeset 51152 ac3859a8b796
parent 51117 532e74ad3ff6
child 52522 92c6c8ab6f94
--- a/rust/rhg/src/main.rs	Wed Nov 15 18:41:33 2023 +0000
+++ b/rust/rhg/src/main.rs	Wed Nov 15 18:43:03 2023 +0000
@@ -524,13 +524,20 @@
     std::process::exit(exit_code(&result, use_detailed_exit_code))
 }
 
+mod commands {
+    pub mod cat;
+    pub mod config;
+    pub mod debugdata;
+    pub mod debugignorerhg;
+    pub mod debugrequirements;
+    pub mod debugrhgsparse;
+    pub mod files;
+    pub mod root;
+    pub mod status;
+}
+
 macro_rules! subcommands {
     ($( $command: ident )+) => {
-        mod commands {
-            $(
-                pub mod $command;
-            )+
-        }
 
         fn add_subcommand_args(app: clap::Command) -> clap::Command {
             app