chmls(1)

πŸ’– chmls(1) β€” the FPC Pascal CHM utility πŸ’–

okay bestie, sit down, hydrate, and let me tell you about chmls(1) β€” your compressed HTML help file utility era. ✨


🌸 SYNOPSIS 🌸

chmls [options] [command] [command specific parameters]

πŸŽ€ Description πŸŽ€

So chmls is the little icon that does a whole bunch of CHM-related stuff, like:

  • listing what's inside a CHM file πŸ‘€
  • extracting one file
  • extracting the whole archive
  • pulling out the special files

but the way that archiving is NOT her job πŸ’… β€” that's the domain of the chmcmd utility, bestie. different girl, different lane, no cap.


πŸ‘‘ Command πŸ‘‘

⭐ list <filename> [section number]

Shows you the contents of the archive's directory. the tea is spilled.

The section number can be 0 or 1. And if you don't specify a section number? both sections get displayed β€” you get the whole menu, queen. πŸ“

πŸ¦‹ extract <chm filename> <filename to extract> [saveasname]

Extracts the file "filename to get" from the archive "filename", and β€” if you bothered to specify it β€” saves it to [saveasname]. one file, hand-picked, curated, iconic.

πŸ’œ extractall <chm filename> [directory]

Extracts all the files from the archive "filename" into the directory "directory". going through her everything-everywhere-all-at-once phase. πŸ™ˆ

πŸ’€ unblockchm <filespec1> [filespec2] ..

(Windows only, so if you're on a Unix vibe this one is not for you, sorry bestie) Mass unblocks (XPsp2+) the relevant CHMs. Multiple files and wildcards allowed. bulk unblocking, no cap. ✨

🌈 extractalias <chmfilename> [basefilename] [symbolprefix]

Extracts context info from the file "chmfilename" to basefilename.h and basefilename.ali, using symbols "symbolprefix" + contextnr. two files, one command, very demure, very mindful.

πŸŽ€ extracttoc <chmfilename> [filename]

Extracts the toc (mainly to check binary TOC). toc = table of contents, in case the abbreviation was doing too much.

🧚 extractindex <chmfilename> [filename]

Extracts the index (mainly to check binary index). yes she's doing both of them, she contains multitudes.

For backwards compatibility reasons, the list command is default. so if you just run chmls with no command, she's listing. periodt. πŸ’…

✨ Options ✨

  • -h, --help β€” Show help text. the classic "help me help you" moment. 🫢
  • -p, --no-page β€” Do not page list command output. she will NOT hold your hand through a pager.
  • -n, --name-only β€” Only show the "name" column in list command output. just the names, nothing else, minimalism era. πŸ¦‹

🌟 SEE ALSO 🌟

chmcmd(1) fpc(1) fpdoc(1)

go read your siblings, bestie, they're all in the family group chat.


and that's the whole page, mwah πŸ’– This one's from Free Pascal, dated 29 December 2010, and yes, she's still chmls(1) β€” same girl, same section, slay forever πŸ‘‘πŸŒΈ