snap-0.14.0.6: Top-level package for the Snap Web Framework

Safe HaskellNone
LanguageHaskell98

Snap.Snaplet.Config

Synopsis

Documentation

newtype AppConfig

AppConfig contains the config options for command line arguments in snaplet-based apps.

Constructors

AppConfig 

Instances

appOpts :: AppConfig -> [OptDescr (Maybe (Config m AppConfig))]

Command line options for snaplet applications.

commandLineAppConfig :: MonadSnap m => Config m AppConfig -> IO (Config m AppConfig)

Calls snap-server's extendedCommandLineConfig to add snaplet options to the built-in server command line options.