opt-env-conf-test-0.0.0.0: test_resources/docs/enable-disable/docs.txt
AnyDocsAnd
[ AnyDocsSingle
SetDoc
{ setDocTryArgument = False
, setDocTrySwitch = False
, setDocTryOption = True
, setDocDasheds = [ DashedLong ('c' :| "onfig-file") ]
, setDocEnvVars = Just ("CONFIG_FILE" :| [])
, setDocConfKeys = Nothing
, setDocDefault = Nothing
, setDocMetavar = Just "FILE_PATH"
, setDocHelp = Just "Path to the configuration file"
}
, AnyDocsOr
[ AnyDocsSingle
SetDoc
{ setDocTryArgument = False
, setDocTrySwitch = True
, setDocTryOption = False
, setDocDasheds = [ DashedLong ('(' :| "enable|disable)-example") ]
, setDocEnvVars = Nothing
, setDocConfKeys = Nothing
, setDocDefault = Nothing
, setDocMetavar = Nothing
, setDocHelp = Just "Example of an enable/disable switch"
}
, AnyDocsSingle
SetDoc
{ setDocTryArgument = False
, setDocTrySwitch = False
, setDocTryOption = False
, setDocDasheds = []
, setDocEnvVars = Just ("EXAMPLE" :| [])
, setDocConfKeys = Nothing
, setDocDefault = Nothing
, setDocMetavar = Just "BOOL"
, setDocHelp = Just "Example of an enable/disable switch"
}
, AnyDocsSingle
SetDoc
{ setDocTryArgument = False
, setDocTrySwitch = False
, setDocTryOption = False
, setDocDasheds = []
, setDocEnvVars = Nothing
, setDocConfKeys =
Just
(( "example" :| []
, AnyOfSchema (NullSchema :| [ BoolSchema ])
) :|
[])
, setDocDefault = Nothing
, setDocMetavar = Nothing
, setDocHelp = Just "Example of an enable/disable switch"
}
]
]