CMDLINER-TOOL-COMMANDS(1)
π CMDLINER-TOOL-COMMANDS(1) π
okay so this is a page from the Cmdliner Manual β yes the whole manual, and yes this page is a certified banger. sit down, bestie, we're learning about cmdliner tool-commands π
β¨ NAME β¨
cmdliner-tool-commands β the girl whose whole job is to output all the subcommands of a cmdliner tool. that's it. that's the gig. iconic honestly π
π¦ SYNOPSIS π¦
cmdliner tool-commands [OPTION]β¦ TOOLEXEC
πΈ DESCRIPTION πΈ
so cmdliner tool-commands outputs every single subcommand of a given cmdliner based tool β one per line. like a little parade of subcommands, marching single file. so organized. so demure. π
examples, because we love a demo:
cmdliner tool-commands ./mytool
cmdliner tool-commands cmdliner
π ARGUMENTS π
TOOLEXEC(required) β this is the tool executable. it gets searched in thePATHunless you specify an explicit file path. lowkey it's just out here looking for your tool fr fr π
π COMMON OPTIONS π
--help[=FMT](default=auto) β show this help in formatFMT. the valueFMTmust be one ofauto,pager,grofforplain. withauto, the format ispagerorplainwhenever theTERMenv var isdumbor undefined. bestiedumbis literally the name of the value, i'm not being mean π--versionβ show version information. slay. β¨
π EXIT STATUS π
cmdliner tool-commands exits with:
0β on success. we love a win π«Ά123β on indiscriminate errors reported on standard error. not me, not my problem, but okay π124β on command line parsing errors. the vibe check failed π125β on unexpected internal errors (bugs). bugs. yes bestie they said the word π
π SEE ALSO π
cmdliner(1)β the main character herself π
okay that's the whole page, you ate that fr fr π β this masterpiece is brought to you by Cmdliner v2.1.1, straight out of the Cmdliner Manual. now go list some subcommands, bestie π¦β
π¦ 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