Cmdlang_stdlib_runner.Param_parserParsing parameters according to their specification.
This is a util module to convert string based parameters coming from the command line into their typed representation.
For example, if a param is expected to be an integer, this module will convert the string representation of the integer into an actual integer.
./my_command.exe --int-param 42The string "42" will be converted into the integer 42, given the parameter Ast.Param.Int for the arg --int-param.
val eval :
'a Cmdlang_ast.Ast.Param.t ->
string ->
'a Cmdlang_ast.Ast.or_error_msgval docv : _ Cmdlang_ast.Ast.Param.t -> docv:string option -> stringChoose a docv for the help.
val print : 'a Cmdlang_ast.Ast.Param.t -> 'a -> stringPrint a param for the help (e.g. document a default value).