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

It would be nice to have support for configuration files to supplement the arguments passed on the command line (with the arguments on the command line taking precedence). The configuration...

enhancement

Hi! I noticed minor typos whilst diving into the docs, so I ran a spell checker. Supersedes #150.

In [Getting Started](https://erratique.ch/software/cmdliner/doc/tutorial.html) there is a typo. This ```ocaml let cmd = Cmd.v (Cmd.info "revolt") revolt_t ``` should probably be this: ```ocaml let revolt_cmd = Cmd.v (Cmd.info "revolt") revolt_t ```

I just were in a situation where I wanted to create an alternative shortcircuiting option, lets call it `--version-of-foo`. From the interface there doesn't seem to be an elegant solution....

enhancement

I'm updating some `Cmdliner` code to the new API and I have a usage of `Term.name` for which the compiler gives the following warning: ``` Alert deprecated: Cmdliner.Term.name Use Cmd.info_name...

bug
enhancement

Just a simple fix for a missing module implementation error that I discovered while trying to update the version of cmdliner used in nixpkgs. Here's the error I get when...

Since `isatty` seems to be bound to make it in the stdlib (https://github.com/ocaml/ocaml/pull/11128), I'm willing to use `caml_sys_tty` primitive (available since this https://github.com/ocaml/ocaml/commit/a69e3e3099bdd26e2db986ab0e43add9309bcc79 which went into `4.03`). Nothing fancy except...

enhancement

Cmdliner-1.1.0 apparently uses an invalid command line option to `groff` on macOS. When I use my tool in a way that should trigger help display, I get an empty man...

bug