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.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/src/main.rs b/bin/src/main.rs
index f504796..be79bb8 100644
--- a/bin/src/main.rs
+++ b/bin/src/main.rs
@@ -1,6 +1,7 @@
1use clap::Parser; 1use clap::Parser;
2use statix::{ 2use statix::{
3 config::{Opts, SubCommand}, 3 config::{Opts, SubCommand},
4 dump,
4 err::StatixErr, 5 err::StatixErr,
5 explain, fix, lint, 6 explain, fix, lint,
6}; 7};
@@ -12,6 +13,7 @@ fn _main() -> Result<(), StatixErr> {
12 SubCommand::Fix(config) => fix::main::all(config), 13 SubCommand::Fix(config) => fix::main::all(config),
13 SubCommand::Single(config) => fix::main::single(config), 14 SubCommand::Single(config) => fix::main::single(config),
14 SubCommand::Explain(config) => explain::main::main(config), 15 SubCommand::Explain(config) => explain::main::main(config),
16 SubCommand::Dump(_) => dump::main::main(),
15 } 17 }
16} 18}
17 19