Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
This module process command-line options provided when launching the client.
Synopsis
- data Options = Options {}
- optConfigFile :: Lens' Options (Maybe FilePath)
- optInitialNetworks :: Lens' Options [Text]
- optNoConnect :: Lens' Options Bool
- getOptions :: IO Options
Command-line options
Command-line options
Options | |
|
Lenses
Options loader
getOptions :: IO Options Source #
Load command line options. This action will terminate early in the case of the version flag, help flag, or an error.