HASKTAGS(1)
π HASKTAGS π
okay bestie, so this is the manual page for hasktags version 0.73.0, and honestly? it's giving "small tool, big main character energy". it eats your Haskell files and spits out tag files so your editor can jump around like it's on a scavenger hunt. slay. π
β¨ SYNOPSIS β¨
hasktags [(-c|--ctags) | (-e|--etags) | (-b|--both)] [-x|--extendedctag]
[-a|--append] [-f|-o|--file|--output FILE|-] [--cache]
[-L|--follow-symlinks] [-S|--suffixes ARG] [-R|--tags-absolute]
[--options FILE] <files or directories...> [--version]
πΈ DESCRIPTION πΈ
so here's the tea, bestie. when you hand hasktags a directory, it doesn't just peek inside β it replaces that directory with:
DIR/**/*.hs DIR/**/*.lhs
which means if you run hasktags . it will tag all the important files in your current directory. iconic behaviour honestly. π
if those directories are symlinks, hasktags will not follow them unless you pass -L. no chasing ghosts without permission, periodt.
there's also a special file called "STDIN" (yes, literally that string) β and if you use it, hasktags will read the line separated file list to be tagged from STDIN. feeding it through a pipe? obsessed. π«Ά
π¦ AVAILABLE OPTIONS π¦
-c,--ctagsβ generate a CTAGS file (ctags). classic.-e,--etagsβ generate an ETAGS file (etags). emacs girlies rise up.-b,--bothβ generate both CTAGS and ETAGS. this is the default, so it's the "why not both" option. π-x,--extendedctagβ generate additional information in the ctag file. extra. in a good way.-a,--appendβ append to existing CTAGS and/or ETAGS file(s). β οΈ heads up though: afterward this file will no longer be sorted! so if you're a sorted-girlie, maybe don't.
fr fr, the --append sort thing is a real warning, not me being dramatic.
-f,-o,--file,--output FILE|-β output to a given file instead of using the default names.'-'writes to stdout. the defaults are: ctags goes totags, etags goes toTAGS.--cacheβ cache file data. speed, bestie. β‘-L,--follow-symlinksβ follow symlinks when recursing directories.-S,--suffixes ARGβ a list of hs suffixes, and yes, including".". default is[".hs",".lhs",".hsc"].-R,--tags-absoluteβ make tags paths absolute. super useful when you're setting tags files in other directories and need them to actually find their way home. π--options FILEβ read additional options from a file. that file should contain one option per line. no chaos, just lines.--versionβ show version. humble.-h,--helpβ show this help text. you are here. π
π FINAL VIBES π
that's the whole page, bestie β go tag something. this was hasktags 0.73.0, from January 2026, and honestly? she ate. πβ¨ππ¦
no cap, every flag and default above is exactly as the original says. tag responsibly. π
π¦ where this page comes from
- epel 10: hasktags 0.73.0-1.el10_2 Β· BSD-3-Clause
- fedora 43: hasktags 0.73.0-1.fc43 Β· BSD-3-Clause
- fedora 44: hasktags 0.73.0-2.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms