Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Functions for creating project initialization applications
Synopsis
- createProjectTemplateAction :: (MonadLogger m, MonadIO m, ToJSON a) => TemplateActionOpts -> TemplateLocation -> a -> m ()
- defaultTemplateActionOpts :: TemplateActionOpts
- data TemplateLocation
- newtype TemplateActionOpts = MkTemplateActionOpts {}
Documentation
createProjectTemplateAction Source #
:: (MonadLogger m, MonadIO m, ToJSON a) | |
=> TemplateActionOpts | |
-> TemplateLocation | |
-> a | type which when converted via |
-> m () |
Create an IO
action that compiles, renders, and writes a
.ProjectTemplate
defaultTemplateActionOpts :: TemplateActionOpts Source #
Default options
data TemplateLocation Source #
Location of template directory
Instances
Show TemplateLocation Source # | |
Defined in ProjectForge.Actions showsPrec :: Int -> TemplateLocation -> ShowS # show :: TemplateLocation -> String # showList :: [TemplateLocation] -> ShowS # | |
Eq TemplateLocation Source # | |
Defined in ProjectForge.Actions (==) :: TemplateLocation -> TemplateLocation -> Bool # (/=) :: TemplateLocation -> TemplateLocation -> Bool # |
newtype TemplateActionOpts Source #
Options for compiling, rendering and writing a a
.ProjectTemplate
MkTemplateActionOpts | |
|