| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
System.Etc.Internal.Spec.Types
Documentation
data ConfigurationError Source #
Constructors
| InvalidConfiguration !(Maybe Text) !Text | |
| InvalidConfigKeyPath ![Text] | |
| ConfigurationFileNotFound !Text |
data CliOptValueType Source #
Instances
data CliArgValueType Source #
Instances
data CliEntryMetadata Source #
Constructors
| Opt | |
| Arg | |
Fields
| |
Instances
data CliEntrySpec cmd Source #
Constructors
| CmdEntry | |
Fields
| |
| PlainEntry | |
Fields | |
Instances
| Eq cmd => Eq (CliEntrySpec cmd) Source # | |
| Show cmd => Show (CliEntrySpec cmd) Source # | |
| Generic (CliEntrySpec cmd) Source # | |
| FromJSON cmd => FromJSON (CliEntrySpec cmd) Source # | |
| type Rep (CliEntrySpec cmd) Source # | |
data CliCmdSpec Source #
Constructors
| CliCmdSpec | |
Fields
| |
Instances
data ConfigSources cmd Source #
Constructors
| ConfigSources | |
Instances
| Eq cmd => Eq (ConfigSources cmd) Source # | |
| Show cmd => Show (ConfigSources cmd) Source # | |
| Generic (ConfigSources cmd) Source # | |
| type Rep (ConfigSources cmd) Source # | |
data SingleConfigValueType Source #
data ConfigValueType Source #
Constructors
| CVTSingle !SingleConfigValueType | |
| CVTArray !SingleConfigValueType |
data ConfigValue cmd Source #
Constructors
| ConfigValue | |
Fields
| |
| SubConfig | |
Fields
| |
Instances
| Eq cmd => Eq (ConfigValue cmd) Source # | |
| Show cmd => Show (ConfigValue cmd) Source # | |
| Generic (ConfigValue cmd) Source # | |
| FromJSON cmd => FromJSON (ConfigValue cmd) Source # | |
| type Rep (ConfigValue cmd) Source # | |
data CliProgramSpec Source #
Constructors
| CliProgramSpec | |
Fields
| |
Instances
Constructors
| FilePathsSpec ![Text] | |
| FilesSpec | |
Fields
| |
data ConfigSpec cmd Source #
Constructors
| ConfigSpec | |
Fields
| |
Instances
| Eq cmd => Eq (ConfigSpec cmd) Source # | |
| Show cmd => Show (ConfigSpec cmd) Source # | |
| FromJSON cmd => FromJSON (ConfigSpec cmd) Source # | |
cliArgKeys :: [Text] Source #
cliOptKeys :: [Text] Source #
matchesConfigValueType :: Value -> ConfigValueType -> Bool Source #
assertMatchingConfigValueType :: Monad m => Value -> ConfigValueType -> m () Source #