--- 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