···413413414414If you would like to perform custom or more elaborate context
415415sensitive completions you can define your own argument converter with
416416-with a completion defined with {!Cmdliner.Arg.Completion.make}.
416416+a completion defined with {!Cmdliner.Arg.Completion.make}.
417417418418Here is an example where the first positional argument is completed
419419with the filenames found in a directory specified via the [--dir]
+3-1
vendor/opam/cmdliner/src/cmdliner.mli
···694694 is ignored.
695695696696 {b Warning.} The protocol is unstable, it is not advised to
697697- output it yourself. *)
697697+ output it yourself. However this can be useful to invoke
698698+ another tool according to the protocol in the completion
699699+ function and treat its result as the requested completion. *)
698700699701 (** {1:completion Completion} *)
700702