diff options
author | Akshay <[email protected]> | 2022-01-14 16:51:42 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2022-01-14 16:51:42 +0000 |
commit | 305960c98b3b71d4b915003430730c76fcda3af3 (patch) | |
tree | 09a428186f1aaacca8c4447f2feb7e08aa204217 /bin/src/main.rs | |
parent | 7d732a051e695353db5a3ddbb26ab766ff736043 (diff) |
add dump command, support version overrides in statix.tomlsession-info
Diffstat (limited to 'bin/src/main.rs')
-rw-r--r-- | bin/src/main.rs | 2 |
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 @@ | |||
1 | use clap::Parser; | 1 | use clap::Parser; |
2 | use statix::{ | 2 | use 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 | ||