Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Provides CLI args functionality.
Synopsis
- getArgs :: MonadOptparse m => m Args
- data Args = MkArgs {
- tomlConfigPath :: TomlConfigPath
- backend :: Maybe Backend
- logLevel :: !(Maybe (Maybe LogLevel))
- logSizeMode :: Maybe FileSizeMode
- trashHome :: !(Maybe (PathI TrashHome))
- command :: CommandP1
- data TomlConfigPath
Documentation
getArgs :: MonadOptparse m => m Args Source #
Retrieves CLI args.
CLI args.
MkArgs | |
|
Instances
data TomlConfigPath Source #
Toml path config.
TomlNone | Do not use any Toml config. |
TomlDefault | Attempts to read the Toml file at the default path. |
TomlPath OsPath | Path to Toml file. |
Instances
Show TomlConfigPath Source # | |
Defined in Charon.Runner.Args showsPrec :: Int -> TomlConfigPath -> ShowS # show :: TomlConfigPath -> String # showList :: [TomlConfigPath] -> ShowS # | |
Eq TomlConfigPath Source # | |
Defined in Charon.Runner.Args (==) :: TomlConfigPath -> TomlConfigPath -> Bool # (/=) :: TomlConfigPath -> TomlConfigPath -> Bool # |