opt-env-conf-test-0.0.0.0: test_resources/docs/three-commands/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"
}
, AnyDocsCommands
[ CommandDoc
{ commandDocArgument = "one"
, commandDocHelp = "first"
, commandDocs =
AnyDocsSingle
SetDoc
{ setDocTryArgument = True
, setDocTrySwitch = False
, setDocTryOption = False
, setDocDasheds = []
, setDocEnvVars = Nothing
, setDocConfKeys = Nothing
, setDocDefault = Nothing
, setDocMetavar = Just "STR"
, setDocHelp = Just "argument"
}
}
, CommandDoc
{ commandDocArgument = "two"
, commandDocHelp = "second"
, commandDocs =
AnyDocsAnd
[ AnyDocsSingle
SetDoc
{ setDocTryArgument = False
, setDocTrySwitch = False
, setDocTryOption = True
, setDocDasheds = [ DashedLong ('n' :| "umber") , DashedShort 'n' ]
, setDocEnvVars = Just ("NUMBER" :| [])
, setDocConfKeys =
Just
(( "number" :| []
, AnyOfSchema
(NullSchema :|
[ NumberSchema
(Just
NumberBounds
{ numberBoundsLower = -9.223372036854775808e18
, numberBoundsUpper = 9.223372036854775807e18
})
])
) :|
[])
, setDocDefault = Nothing
, setDocMetavar = Just "INT"
, setDocHelp = Just "number"
}
, AnyDocsOr
[ AnyDocsSingle
SetDoc
{ setDocTryArgument = False
, setDocTrySwitch = True
, setDocTryOption = False
, setDocDasheds = [ DashedLong ('(' :| "enable|disable)-enable") ]
, setDocEnvVars = Nothing
, setDocConfKeys = Nothing
, setDocDefault = Nothing
, setDocMetavar = Nothing
, setDocHelp = Just "enable extra"
}
, AnyDocsSingle
SetDoc
{ setDocTryArgument = False
, setDocTrySwitch = False
, setDocTryOption = False
, setDocDasheds = []
, setDocEnvVars = Just ("ENABLE" :| [])
, setDocConfKeys = Nothing
, setDocDefault = Nothing
, setDocMetavar = Just "BOOL"
, setDocHelp = Just "enable extra"
}
, AnyDocsSingle
SetDoc
{ setDocTryArgument = False
, setDocTrySwitch = False
, setDocTryOption = False
, setDocDasheds = []
, setDocEnvVars = Nothing
, setDocConfKeys =
Just
(( "enable" :| [] , AnyOfSchema (NullSchema :| [ BoolSchema ]) ) :|
[])
, setDocDefault = Nothing
, setDocMetavar = Nothing
, setDocHelp = Just "enable extra"
}
]
]
}
, CommandDoc
{ commandDocArgument = "three"
, commandDocHelp = "third"
, commandDocs = AnyDocsAnd []
}
]
]