aboutsummaryrefslogtreecommitdiff
path: root/bin/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/src/main.rs')
-rw-r--r--bin/src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/src/main.rs b/bin/src/main.rs
index 90b79ce..31f6823 100644
--- a/bin/src/main.rs
+++ b/bin/src/main.rs
@@ -1,5 +1,6 @@
1mod config; 1mod config;
2mod err; 2mod err;
3mod explain;
3mod fix; 4mod fix;
4mod lint; 5mod lint;
5mod traits; 6mod traits;
@@ -86,6 +87,10 @@ fn _main() -> Result<(), StatixErr> {
86 print!("{}", &*single_fix_result.src) 87 print!("{}", &*single_fix_result.src)
87 } 88 }
88 } 89 }
90 SubCommand::Explain(explain_config) => {
91 let explanation = explain::explain(explain_config.target)?;
92 println!("{}", explanation)
93 }
89 } 94 }
90 Ok(()) 95 Ok(())
91} 96}