cmdliner icon indicating copy to clipboard operation
cmdliner copied to clipboard

Declarative definition of command line interfaces for OCaml

Results 26 cmdliner issues
Sort by recently updated
recently updated
newest added

Thanks for this great library. I'm using it in a lot of projects. I'm currently trying to upgrade to the non-deprecated part of 1.1.0. I have some custom exit codes...

question

It seems a lot of people want cmdliner to help with auto-completion which seems a rather natural request. There are already quite a few things that could help inside (e.g....

enhancement

For groff output .ue/.ur can be used to render them.

enhancement

W.r.t. env and cli support it is sometimes annoying not to be able to know where the value was actually specified; and this would only worsen with #35. Still most...

enhancement

It seems not everyone is familiar with the *term*inology.

enhancement

When there is an error in the command line (such as an unknown option), this displays the command name instead of just the executable name. This is visible in the...

I'm currently trying to port opam to use the 1.1 API and this would be incredibly useful to have (otherwise we need to carry the old `(info, term)` tuple around...

Fixes https://github.com/dbuenzli/cmdliner/issues/148

``` $ dune build File "src/cmdliner.mli", line 577, characters 4-57: 577 | (** The type for environment variable information. *) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error (warning 50 [unexpected-docstring]): ambiguous documentation comment File "src/cmdliner.mli",...

It would be very useful to expose the following two functions to the API of `Term`s. ```ocaml let ( let+ ) v f = let open Term in const f...

enhancement