Parochial.Options
data Config w Source #
Constructors
Fields
Defined in Parochial.Options
Methods
showsPrec :: Int -> Config Unwrapped -> ShowS #
show :: Config Unwrapped -> String #
showList :: [Config Unwrapped] -> ShowS #
Associated Types
type Rep (Config w) :: Type -> Type #
from :: Config w -> Rep (Config w) x #
to :: Rep (Config w) x -> Config w #
parseRecord :: Parser (Config Wrapped) #
getCurrentProject :: Maybe Text -> IO Text Source #
defaultTarget :: Maybe FilePath -> Target Source #
getAndMkTargetPath :: Maybe Text -> Maybe FilePath -> IO Target Source #
getState :: Maybe FilePath -> IO FilePath Source #
Takes the value from either the --state option or tries to find the setup-config itself.
parseCmdOptions :: MonadIO m => m (Config Unwrapped) Source #