| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
ProjectForge.Actions
Description
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 #
Arguments
| :: (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 Methods showsPrec :: Int -> TemplateLocation -> ShowS # show :: TemplateLocation -> String # showList :: [TemplateLocation] -> ShowS # | |
| Eq TemplateLocation Source # | |
Defined in ProjectForge.Actions Methods (==) :: TemplateLocation -> TemplateLocation -> Bool # (/=) :: TemplateLocation -> TemplateLocation -> Bool # | |
newtype TemplateActionOpts Source #
Options for compiling, rendering and writing a a .ProjectTemplate
Constructors
| MkTemplateActionOpts | |
Fields
| |