parochial-0.2.0.0: Help Manage project specific documentation
Safe HaskellNone
LanguageHaskell2010

Parochial.Options

Synopsis

Documentation

data Config w Source #

Constructors

Haddock 

Fields

Hoogle 

Fields

Instances

Instances details
Show (Config Unwrapped) Source # 
Instance details

Defined in Parochial.Options

Generic (Config w) Source # 
Instance details

Defined in Parochial.Options

Associated Types

type Rep (Config w) :: Type -> Type #

Methods

from :: Config w -> Rep (Config w) x #

to :: Rep (Config w) x -> Config w #

ParseRecord (Config Wrapped) Source # 
Instance details

Defined in Parochial.Options

type Rep (Config w) Source # 
Instance details

Defined in Parochial.Options

type Rep (Config w) = D1 ('MetaData "Config" "Parochial.Options" "parochial-0.2.0.0-HBHmorrNqwBHPgGiY3VpA" 'False) (C1 ('MetaCons "Haddock" 'PrefixI 'True) (S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (w ::: (Maybe FilePath <?> "Target directory"))) :*: (S1 ('MetaSel ('Just "project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (w ::: (Maybe Text <?> "The name of the project. Default to project name derived from $CWD"))) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (w ::: (Maybe FilePath <?> "The state file"))))) :+: C1 ('MetaCons "Hoogle" 'PrefixI 'True) (S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (w ::: (Maybe FilePath <?> "Target directory"))) :*: (S1 ('MetaSel ('Just "project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (w ::: (Maybe Text <?> "The name of the project. Default to project name derived from $CWD"))) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (w ::: (Maybe FilePath <?> "The state file"))))))

getState :: Maybe FilePath -> IO FilePath Source #

Take the value from either the --state option or find the setup-config itself.