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) #
getAndMkTargetPath :: Maybe Text -> Maybe FilePath -> IO Target Source #
getState :: Maybe FilePath -> IO FilePath Source #
Take the value from either the --state option or find the setup-config itself.
parseCmdOptions :: MonadIO m => m (Config Unwrapped) Source #