import Control.Exception (finally)
import Data.Either
import Data.Text (Text)
+import Prelude (read)
+import System.Environment (getArgs)
+import qualified Data.Text as Text
+
+import Gargantext.API.Dev (withDevEnv, runCmdDev)
+import Gargantext.API.Admin.EnvTypes (DevEnv(..))
import Gargantext.API.Node () -- instances
-import Gargantext.API.Admin.Settings (withDevEnv, runCmdDev, DevEnv)
import Gargantext.API.Prelude (GargError)
import Gargantext.Core (Lang(..))
import Gargantext.Core.Types.Individu (User(..))
import Gargantext.Database.Action.Flow (FlowCmdM, flowCorpusFile, flowAnnuaire, TermType(..))
import Gargantext.Database.Query.Table.User (insertUsersDemo)
-import Gargantext.Database.Admin.Types.Node (CorpusId, toHyperdataDocument)
-import Gargantext.Database.Prelude (Cmd, )
+import Gargantext.Database.Admin.Types.Hyperdata (toHyperdataDocument)
+import Gargantext.Database.Admin.Types.Node (CorpusId)
+import Gargantext.Database.Prelude (Cmd)
import Gargantext.Prelude
-import Gargantext.Text.Corpus.Parsers (FileFormat(..))
-import Prelude (read)
-import System.Environment (getArgs)
-import qualified Data.Text as Text
+import Gargantext.Core.Text.Corpus.Parsers (FileFormat(..))
main :: IO ()
main = do