snap-1.1.3.1: Top-level package for the Snap Web Framework
Snap.Snaplet.Config
newtype AppConfig Source #
AppConfig contains the config options for command line arguments in snaplet-based apps.
Constructors
Fields
Defined in Snap.Snaplet.Config
Methods
(<>) :: AppConfig -> AppConfig -> AppConfig #
sconcat :: NonEmpty AppConfig -> AppConfig #
stimes :: Integral b => b -> AppConfig -> AppConfig #
mempty :: AppConfig #
mappend :: AppConfig -> AppConfig -> AppConfig #
mconcat :: [AppConfig] -> AppConfig #
appOpts :: AppConfig -> [OptDescr (Maybe (Config m AppConfig))] Source #
Command line options for snaplet applications.
commandLineAppConfig :: MonadSnap m => Config m AppConfig -> IO (Config m AppConfig) Source #
Calls snap-server's extendedCommandLineConfig to add snaplet options to the built-in server command line options.