rib-0.10.0.0: Static site generator based on Shake

Safe HaskellNone
LanguageHaskell2010

Rib.App

Description

CLI interface for Rib.

Mostly you would only need run, passing it your Shake build action.

Synopsis

Documentation

run Source #

Arguments

:: FilePath

Default value for inputDir

-> FilePath

Deault value for outputDir

-> Action ()

Shake build rules for building the static site

-> IO () 

Run Rib using arguments passed in the command line.

runWith :: Action () -> CliConfig -> IO () Source #

Like run but with an explicitly passed CliConfig