hare-deps(1)
π hare-deps(1) β from the General Commands Manual π
okay bestie, welcome to hare-deps(1), literally the cutest way to spy on your Hare dependency tree πΈ
β¨ NAME β¨
hare deps β show off the dependency tree of a Hare program or module π¦
π SYNOPSIS π
hare deps [-hd] [-T tagset] [path|module]
π DESCRIPTION π
hare deps prints out the dependency tree of a Hare program or module, following the algorithm laid out in DEPENDENCY RESOLUTION in hare-module(5). It's giving organized. It's giving I know where my modules come from β¨
The path argument is a path to a Hare source file, or a directory that contains a Hare module (peep hare-module(5) for the deets on that). And if you don't hand it a path at all? No stress β it just uses the Hare module sitting in the current working directory π
By default the dependency tree is pretty-printed with Unicode box-drawing characters. Yes, actual cute little lines. Iconic behaviour honestly π
π OPTIONS π
-hβ print the help text. your friendly little reminder of what all the flags do π«Ά-Dβ print only the direct dependencies of the module β plus its submodules when you've got-son too. like, keep it surface-level bestie π-dβ print the dependency tree as a dot file, for use withgraphviz(1). graph go brrr π₯-sβ recursively collect submodules below the specified path or module's directory. heads up: a path should be a source directory for dependency collection to be reliable β-tβ print the dependency tree as field-based plain text output. each line has exactly two fields: a module, and one of its dependencies. if the module (or one of its submodules, when-sis on) has no dependencies, that second field is just a dash. and ngl, this text output is a perfect input fortsort(1)ππ-Ttagset β set or unset build tags. see BUILD TAGS inhare-module(5)π«
πΈ ENVIRONMENT πΈ
these environment variables affect how hare deps runs, fr fr:
HAREPATHβ the list of directories to search for dependencies in π¦NO_COLORβ disables all color output when set to a non-empty string. sad but valid π
β SEE ALSO β
go forth and know thy dependencies, bestie π β¨
that's a wrap on hare-deps(1) β dated 2026-05-05, and it's from the hare-deps(1) page itself π bye pookie, slay your builds π
π¦ where this page comes from
- alpine 3.24: hare-doc 0.26.0.1-r0 Β· MPL-2.0 AND GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms