DOKK / manpages / debian 13 / hare / hare-deps.1.en
HARE-DEPS(1) General Commands Manual HARE-DEPS(1)

hare-deps - display the dependency tree of a Hare program or module

hare deps [-hd] [-T tagset] [path|module]

hare deps displays the dependency tree of a Hare program or module, as per the algorithm described in DEPENDENCY RESOLUTION in hare-module(5). The path argument is a path to a Hare source file or a directory which contains a Hare module (see hare-module(5)). If no path is given, the Hare module contained in the current working directly is used.

By default, the dependency tree is pretty-printed using Unicode box-drawing characters.

-h

Print the help text.

-d

Print the dependency tree as a dot file for use with graphviz(1).

-T tagset

Set or unset build tags. See BUILD TAGS in hare-module(5).

The following environment variables affect hare deps' execution:

HAREPATH The list of directories to search for dependencies in.
NO_COLOR Disables all color output when set to a non-empty string.

hare-module(5)

2025-03-27