Skip to main content

CLI reference

heph run

Run a command

heph run <TARGET_ADDRESS>
heph run <LABEL> <PACKAGE_MATCHER>
FlagValueDefaultDescription
<ARG1>TARGET_ADDRESS/LABELTarget address (e.g., //pkg:name) OR Label
<ARG2>PACKAGE_MATCHERPackage matcher (only if first argument is a Label)
--forceForce execution
--shellTARGETInteractive shell
--cat-outPrint output artifacts to stdout
--list-outPrint output file list to stdout
-e, --excludeTARGET_ADDRESSExclude target address (repeatable, e.g. -e //pkg:target)

heph inspect

Inspect

heph inspect [COMMAND]

heph inspect packages

List packages

heph inspect packages [MATCHER]
FlagValueDefaultDescription
<MATCHER>MATCHERPackages matcher

heph inspect hashin

Prints targets hashin

heph inspect hashin <ADDR>
FlagValueDefaultDescription
<ADDR>ADDRTarget address

heph inspect hashout

Prints targets hashout

heph inspect hashout <ADDR>
FlagValueDefaultDescription
<ADDR>ADDRTarget address

heph inspect spec

Prints target spec

heph inspect spec <ADDR>
FlagValueDefaultDescription
<ADDR>ADDRTarget address

heph inspect def

Prints target def

heph inspect def [OPTIONS] <ADDR>
FlagValueDefaultDescription
<ADDR>ADDRTarget address
--no-transitiveSkip applying transitive deps

heph inspect deps

Prints target deps

heph inspect deps [OPTIONS] <ADDR>
FlagValueDefaultDescription
<ADDR>ADDRTarget address
-i, --interactiveExplore deps interactively

heph inspect functions

List provider-exposed functions (heph.<provider>.<fn>)

heph inspect functions

heph query

Query targets

heph query <TARGET_ADDRESS>
heph query <LABEL> <PACKAGE_MATCHER>
FlagValueDefaultDescription
<ARG1>TARGET_ADDRESS/LABELTarget address (e.g., //pkg:name) OR Label
<ARG2>PACKAGE_MATCHERPackage matcher (only if first argument is a Label)
-e, --excludeTARGET_ADDRESSExclude target address (repeatable, e.g. -e //pkg:target)

heph version

Prints version

heph version

heph gc

Garbage collect the local cache

heph gc