Safe Haskell | None |
---|---|
Language | Haskell2010 |
CLI interface for Rib.
Typically you would call run
passing your Shake build action.
Documentation
Application modes
The mode in which to run the Rib CLI
Generate | Generate static files once. |
WatchAndGenerate | Watch for changes in |
Serve | Run a HTTP server serving |
|
Instances
Eq App Source # | |
Data App Source # | |
Defined in Rib.App gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> App -> c App # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c App # dataTypeOf :: App -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c App) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c App) # gmapT :: (forall b. Data b => b -> b) -> App -> App # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> App -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> App -> r # gmapQ :: (forall d. Data d => d -> u) -> App -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> App -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> App -> m App # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> App -> m App # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> App -> m App # | |
Show App Source # | |
Run Rib using arguments passed in the command line.
ribOutputDir :: FilePath Source #
The path where static files will be generated.
Rib's server uses this directory when serving files.
ribInputDir :: FilePath Source #
Directory from which source content will be read.