Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
CLI application harness.
Synopsis
- run :: ConfigFile -> Args -> IO ()
- getArgs :: IO Args
- data Args = Args {}
- loadConfigFile :: IO ConfigFile
- data ConfigFile = ConfigFile {}
Documentation
CLI arguments supported by the executable.
Instances
Data Args Source # | |
Defined in Console.Gemini.Exports.Main gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Args -> c Args # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Args # dataTypeOf :: Args -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Args) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Args) # gmapT :: (forall b. Data b => b -> b) -> Args -> Args # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Args -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Args -> r # gmapQ :: (forall d. Data d => d -> u) -> Args -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Args -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Args -> m Args # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Args -> m Args # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Args -> m Args # | |
Read Args Source # | |
Show Args Source # | |
Eq Args Source # | |
loadConfigFile :: IO ConfigFile Source #
Attempt to read a ConfigFile
from
$XDG_CONFIG_HOME/gemini-exports/config.yaml
. Print any parsing
errors to stderr
.
data ConfigFile Source #
Optional configuration data parsed from a yaml file.