module Configuration.Dotenv.Types
( Config(..)
, defaultConfig
)
where
data Config = Config
{ Config -> [FilePath]
configPath :: [FilePath]
, Config -> [FilePath]
configExamplePath :: [FilePath]
, Config -> Bool
configOverride :: Bool
, Config -> Bool
configVerbose :: Bool
, Config -> Bool
allowDuplicates :: Bool
} deriving (Config -> Config -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Config -> Config -> Bool
$c/= :: Config -> Config -> Bool
== :: Config -> Config -> Bool
$c== :: Config -> Config -> Bool
Eq, Int -> Config -> ShowS
[Config] -> ShowS
Config -> FilePath
forall a.
(Int -> a -> ShowS) -> (a -> FilePath) -> ([a] -> ShowS) -> Show a
showList :: [Config] -> ShowS
$cshowList :: [Config] -> ShowS
show :: Config -> FilePath
$cshow :: Config -> FilePath
showsPrec :: Int -> Config -> ShowS
$cshowsPrec :: Int -> Config -> ShowS
Show)
defaultConfig :: Config
defaultConfig :: Config
defaultConfig =
Config
{ configExamplePath :: [FilePath]
configExamplePath = []
, configOverride :: Bool
configOverride = Bool
False
, configPath :: [FilePath]
configPath = [ FilePath
".env" ]
, configVerbose :: Bool
configVerbose = Bool
False
, allowDuplicates :: Bool
allowDuplicates = Bool
True
}