Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Options for minifying generated completion scripts:
--minify-global-names
rename all global functions and variables to use short generated names--minify-local-variables
rename local variables to single-letter names--no-comments
strip comments from the output--no-whitespace
remove all unnecessary whitespace including indentation--optimize-case-statements
detect sequences of cases with the same body and combine themArg_parser.Completion.stringify
removes the type constraint on a Arg_parser.Completion.t
for situations where you want to use a completion for one type in a conv
of a different type. Doing so is a little risky but there's no technical reason to forbid it and it may simplify writing parsers.Arg_parser.Completion.file
is now a _ t
(formerly it was a string t
). Sometimes you want to complete with files in a parser which doesn't yield paths, or use a non-string type to represent paths. E.g. dune build
accepts build targets as arguments but it's convenient to be able to complete that command with files (at least until dune's completion script understands targets!).Initial release.