CMDLINER-INSTALL(1)

πŸ“¦ version 2.1.1, in arch rolling, nixos 26.05, nixpkgs unstable

πŸ’… cmdliner-install(1) β€” like, the whole manual, bestie

okay so this is a page from the Cmdliner Manual (yes, the CMDLINER-INSTALL(1) one, you found it, congrats πŸŽ€). Sit down, grab a strawberry drink πŸ“, and let's get you acquainted with the little installer that handles all the support files for your cmdliner tools. It's giving "glorified copy-paste" but honestly? Iconic. πŸ‘‘


✨ NAME ✨

cmdliner-install β€” install support files for cmdliner tools 🫢


🌸 SYNOPSIS 🌸

cmdliner install COMMAND …

that's it. that's the whole vibe. cmdliner install and then a COMMAND and then whatever that command wants. periodt. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so the cmdliner install subcommands are the ones that actually install the cmdliner support files. that's their whole job, no cap. 🌈

want the tea on any of them? the library documentation has you covered β€” or honestly just poke a subcommand with --help and it'll spill everything. iykyk. πŸ”₯


πŸ‘‘ COMMANDS πŸ‘‘

  • generic-completion [--dry-run] [--shell=SHELL] [--update-opam-install=PKG.install] [OPTION]… SHAREDIR β€” installs the generic completion scripts. the ones that aren't tied to one specific tool, bestie. ✨
  • tool-completion [OPTION]… TOOLNAME… SHAREDIR β€” installs completion scripts for the tools you name. plural TOOLNAME…, so yes, you can absolutely bring your whole friend group. 🫢
  • tool-manpages [--dry-run] [--update-opam-install=PKG.install] [OPTION]… TOOLEXEC[:NAME]… MANDIR β€” installs manpages for your tools and their subcommands. note the TOOLEXEC[:NAME] situation there β€” you can slap a :NAME on it, iykyk. πŸ“–
  • tool-support [OPTION]… TOOLEXEC[:NAME]… PREFIX β€” the two-for-one special: installs both the tool completion and the manpages in one go. main character energy fr fr. πŸ’–

πŸŽ€ COMMON OPTIONS πŸŽ€

  • --help[=FMT] (default=auto) β€” shows this very help, in the format FMT. and FMT has got to be one of auto, pager, groff or plain, no exceptions. when it's auto, you get pager or plain whenever the TERM env var is dumb or straight-up undefined. (yes, TERM=dumb is real and it's kind of a mood tbh πŸ’€)
  • --version β€” shows version info. that's it. that's the whole thing. ⭐

πŸ’€ EXIT STATUS πŸ’€

cmdliner install dips out with:

  1. 0 β€” on success. slay. 🌸
  2. 123 β€” on indiscriminate errors, the ones reported on standard error. not me getting a 123 😭
  3. 124 β€” on command line parsing errors. you typed something weird, bestie. πŸ™ˆ
  4. 125 β€” on unexpected internal errors. aka bugs. yeah. those. πŸ›

🧚 SEE ALSO 🧚

  • cmdliner(1) β€” go read the main one, it's literally right there πŸ’œ

and that's the whole page!! πŸŽ‰ happy installing, bestie β€” go forth and make those completion scripts and manpages gorgeous. πŸ¦‹

with love from Cmdliner v2.1.1 πŸ’– (that's the version, mwah, bye!! πŸ‘‹βœ¨)

πŸ“¦ where this page comes from