CMDLINER(1)
CMDLINER(1) β your helper bestie from the Cmdliner Manual π
okay so listen bestie: CMDLINER(1) is literally the helper tool for tools that use the cmdliner command line interface library. Her whole job is helping with installing command line completion scripts and manpages. For the full lore, check the library documentation or invoke subcommands with --help β iykyk. β¨
π NAME π
cmdlinerβ helper tool for cmdliner based tools.
π¦ SYNOPSIS π¦
cmdliner [COMMAND] β¦
β¨ DESCRIPTION β¨
cmdliner is a helper for tools using the cmdliner command line interface library. She helps with installing command line completion scripts and manpages. See the library documentation, or invoke subcommands with --help for more details. no cap, that's the whole point. π
π COMMANDS π
generic-completion [OPTION]β¦ SHELLβ outputs generic completion scripts. β¨install COMMAND β¦β installs support files for cmdliner tools. π οΈtool-commands [OPTION]β¦ TOOLEXECβ outputs all subcommands of a cmdliner tool. πtool-completion [--standalone-completion] [OPTION]β¦ SHELL TOOLNAMEβ outputs tool completion scripts. π
π COMMON OPTIONS π
--help[=FMT](default=auto) β shows this help in formatFMT. The valueFMTmust be one ofauto,pager,grofforplain. Withauto, the format ispagerorplainwhenever theTERMenv var isdumbor undefined.--versionβ shows version information.
π EXIT STATUS π
cmdliner exits with:
0β on success. slay.123β on indiscriminate errors reported on standard error.124β on command line parsing errors.125β on unexpected internal errors (bugs).
bestie, those exit codes are not decorative β they're giving actual meaning. periodt.
mwah π this page is brought to you by Cmdliner v2.1.1, and the footer just says CMDLINER(1) with no date listed, so that's the cute little sign-off. byeee π«Ά
π¦ where this page comes from
- arch rolling: ocaml-cmdliner 2.1.1-1 Β· ISC
- nixos 26.05: cmdliner 2.1.1
- nixpkgs unstable: cmdliner 2.1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms