diff options
Diffstat (limited to 'bin/src/main.rs')
-rw-r--r-- | bin/src/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/src/main.rs b/bin/src/main.rs index be79bb8..ebd230e 100644 --- a/bin/src/main.rs +++ b/bin/src/main.rs | |||
@@ -1,9 +1,10 @@ | |||
1 | use clap::Parser; | 1 | use clap::Parser; |
2 | |||
3 | #[rustfmt::skip] | ||
2 | use statix::{ | 4 | use statix::{ |
3 | config::{Opts, SubCommand}, | 5 | config::{Opts, SubCommand}, |
4 | dump, | ||
5 | err::StatixErr, | 6 | err::StatixErr, |
6 | explain, fix, lint, | 7 | lint, fix, explain, dump, list, |
7 | }; | 8 | }; |
8 | 9 | ||
9 | fn _main() -> Result<(), StatixErr> { | 10 | fn _main() -> Result<(), StatixErr> { |
@@ -14,6 +15,7 @@ fn _main() -> Result<(), StatixErr> { | |||
14 | SubCommand::Single(config) => fix::main::single(config), | 15 | SubCommand::Single(config) => fix::main::single(config), |
15 | SubCommand::Explain(config) => explain::main::main(config), | 16 | SubCommand::Explain(config) => explain::main::main(config), |
16 | SubCommand::Dump(_) => dump::main::main(), | 17 | SubCommand::Dump(_) => dump::main::main(), |
18 | SubCommand::List(_) => list::main::main(), | ||
17 | } | 19 | } |
18 | } | 20 | } |
19 | 21 | ||