Copyright | (c) Edward Kmett and Dan Doel 2012-2013 |
---|---|
License | BSD3 |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Ermine.Console.Options
Description
- data MonitorOptions = MonitorOptions {}
- class HasMonitorOptions t where
- monitorOptions :: Lens' t MonitorOptions
- monitorEnabled :: Lens' t Bool
- monitorHost :: Lens' t String
- monitorOpen :: Lens' t Bool
- monitorPort :: Lens' t Int
- data Options = Options {}
- class HasOptions t where
- options :: Lens' t Options
- files :: Lens' t [FilePath]
- libdir :: Lens' t FilePath
- optionsMonitorOptions :: Lens' t MonitorOptions
- parseOptions :: IO (Parser Options)
Documentation
data MonitorOptions Source
Enable/disable EKG
Constructors
MonitorOptions | |
Fields
|
class HasMonitorOptions t where Source
Minimal complete definition
Methods
monitorOptions :: Lens' t MonitorOptions Source
monitorEnabled :: Lens' t Bool Source
monitorHost :: Lens' t String Source
monitorOpen :: Lens' t Bool Source
monitorPort :: Lens' t Int Source
All command line options.
Constructors
Options | |
Fields |
class HasOptions t where Source
Minimal complete definition
Methods
options :: Lens' t Options Source
files :: Lens' t [FilePath] Source
libdir :: Lens' t FilePath Source
optionsMonitorOptions :: Lens' t MonitorOptions Source
Instances
parseOptions :: IO (Parser Options) Source
Generate the command line option parser