summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Main.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 9bc09ff..beee091 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -6,7 +6,7 @@
module Main where
-import Control.Monad (unless)
+import Control.Monad (unless, when)
import Control.Monad.Identity (Identity)
import Data.Aeson (eitherDecode, encode)
import Data.Aeson.Encode.Pretty (encodePretty)
@@ -16,17 +16,17 @@ import Data.Maybe (fromMaybe)
import qualified Data.Text.Encoding as T
import qualified Data.Text.IO as T
import System.Exit (ExitCode (..), exitWith)
-import WithCli
+import System.IO (hPutStrLn, stderr)
+import WithCli (Generic, HasArguments, withCli)
import CheckDir (recursiveCheckDir, resultIsFatal)
-import Control.Monad (when)
import LintConfig (LintConfig (..), patchConfig)
-import System.IO (hPutStrLn, stderr)
import Types (Level (..))
import Util (printPretty)
-import qualified Version as V (version)
import WriteRepo (writeAdjustedRepository)
+import qualified Version as V (version)
+
-- | the options this cli tool can take
data Options = Options
{ repository :: Maybe String