CPTINFO(1)

πŸ“¦ version 1.82, in fedora 43, fedora 44

πŸ’– cptinfo β€” like, the manual page, bestie πŸ’–

okay so welcome to cptinfo(1) from the User commands section, and honestly? it's giving "small tool, big helpfulness". let's get into it πŸŽ€


✨ NAME ✨

cptinfo β€” prints summary information on GMT colour palette table (cpt) files. no cap, that's literally the whole job and it does it gorgeously πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

cptinfo [-c] [-h] [-o path] [-p] [-v] [-V] [path]

like yes, that's a lot of little flags but they're all iconic in their own way, we'll get to each one 🫢


🌸 DESCRIPTION 🌸

so the cptinfo utility prints summary information on the colour palette table (cpt) file which is its input. that's it, that's the vibe β€” you hand it a cpt file and it tells you what's inside, main character energy only πŸ‘‘

and here's the cute part: the program will read from stdin if a file is not specified as the final argument, and write to stdout if the --output option is not specified. so if you're feeling lazy (same) you can just pipe stuff in and let it spill out into your terminal. flexible. obsessed. πŸ’œ


πŸ’… OPTIONS πŸ’…

  • -c, --csv β€” outputs in a comma separated value format, suitable for easy parsing by other programs. machine-readable, lowkey the moment your scripts needed 😌
  • -h, --help β€” brief help. short and sweet, a little snack of information πŸ“
  • -o, --output path β€” writes the output to path, rather than stdout. redirect your fave info to a file, no biggie ✨
  • -p, --plain β€” outputs in a plain human-readable format. just you and the words, bestie πŸŽ€
  • -v, --verbose β€” verbose operation. it will yap (affectionate) πŸ—£οΈ
  • -V, --version β€” version information. for when you simply must know which era of this tool you're living in 🌈
heads up bestie: the synopsis shows [path] as the optional final argument, so if you don't give one, remember β€” it reads from stdin πŸ’–

πŸ‘‘ AUTHOR πŸ‘‘

J.J. Green β€” the legend themselves. we love and respect 🫢


and that's the whole page, bestie! this one's from cptutils 1.82, dated 9 July 2024 β€” so go forth, feed cptinfo a cpt file, and slay πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from