project-forge-0.2.0.0: A project initialization library
Safe HaskellSafe-Inferred
LanguageHaskell2010

ProjectForge.Actions

Description

Functions for creating project initialization applications

Synopsis

Documentation

createProjectTemplateAction Source #

Arguments

:: (MonadLogger m, MonadIO m, ToJSON a) 
=> TemplateActionOpts 
-> TemplateLocation 
-> a

type which when converted via toJSON contains values to interpolate into the ProjectTemplate.

-> m () 

Create an IO action that compiles, renders, and writes a ProjectTemplate.

data TemplateLocation Source #

Location of template directory

Constructors

Local FilePath 
Git GitURL 

newtype TemplateActionOpts Source #

Options for compiling, rendering and writing a a ProjectTemplate.