diff options
Diffstat (limited to 'bin/src/main.rs')
-rw-r--r-- | bin/src/main.rs | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/bin/src/main.rs b/bin/src/main.rs index fabc509..f504796 100644 --- a/bin/src/main.rs +++ b/bin/src/main.rs | |||
@@ -1,15 +1,9 @@ | |||
1 | mod config; | 1 | use clap::Parser; |
2 | mod dirs; | 2 | use statix::{ |
3 | mod err; | 3 | config::{Opts, SubCommand}, |
4 | mod explain; | 4 | err::StatixErr, |
5 | mod fix; | 5 | explain, fix, lint, |
6 | mod lint; | 6 | }; |
7 | mod traits; | ||
8 | |||
9 | use crate::err::StatixErr; | ||
10 | |||
11 | use clap::Clap; | ||
12 | use config::{Opts, SubCommand}; | ||
13 | 7 | ||
14 | fn _main() -> Result<(), StatixErr> { | 8 | fn _main() -> Result<(), StatixErr> { |
15 | let opts = Opts::parse(); | 9 | let opts = Opts::parse(); |