CMDLINER(1) Cmdliner Manual CMDLINER(1)

# [NAME](#NAME)

cmdliner - Helper tool for cmdliner based tools

# [SYNOPSIS](#SYNOPSIS)

**cmdliner** \[*COMMAND*] …

# [DESCRIPTION](#DESCRIPTION)

**cmdliner** is a helper for tools using the cmdliner command line interface library. It helps with installing command line completion scripts and manpages. See the library documentation or invoke subcommands with **--help** for more details.

# [COMMANDS](#COMMANDS)

[**generic-completion** \[*OPTION*\]… *SHELL*](#generic)

Output generic completion scripts

[**install** *COMMAND* …](#install)

Install support files for cmdliner tools

[**tool-commands** \[*OPTION*\]… *TOOLEXEC*](#tool)

Output all subcommands of a cmdliner tool

[**tool-completion** \[**--standalone-completion**\] \[*OPTION*\]… *SHELL* *TOOLNAME*](#tool~2)

Output tool completion scripts

# [COMMON OPTIONS](#COMMON_OPTIONS)

[**--help**\[=*FMT*\] (default=**auto**)](#help)

Show this help in format *FMT*. The value *FMT* must be one of **auto**, **pager**, **groff** or **plain**. With **auto**, the format is **pager** or **plain** whenever the **TERM** env var is **dumb** or undefined.

[**--version**](#version)

Show version information.

# [EXIT STATUS](#EXIT_STATUS)

**cmdliner** exits with:

0

on success.

123

on indiscriminate errors reported on standard error.

124

on command line parsing errors.

125

on unexpected internal errors (bugs).

Cmdliner %%VERSION%%

---

Document: cmdliner(1) from ocaml4-cmdliner 2.1.1-r2 (Chainguard OS)
Source: https://github.com/dbuenzli/cmdliner
