rune list

rune list

Prints every script the current directory can run, sorted by name, with its description.

$ rune list
build  Compile every package with tsc
ci     Build, then test, then lint
lint   Check formatting and lint rules
test   Run unit tests

Names are padded to the width of the longest one so descriptions align. A script with no description prints its name alone.

Provenance

Where a package config is involved, the source of each script is annotated:

$ cd packages/legacy && rune list
build      Compile every package with tsc
ci         Build, then test, then lint
lint       Check formatting and lint rules
test       Run unit tests                   (narrowed here)
typecheck  Type-check the legacy sources    (defined here)

Descriptions are padded into a column only when something needs to line up beside them, so a repository with no package configs keeps the two-column output above.

AnnotationMeaning
(narrowed here)This package narrows a root script of the same name by extending it
(defined here)This package defines a script the root does not have
noneComes from the root config unchanged

Output stability

The output carries no absolute paths, and the sort order is fixed. Run from the repository root or from a package five levels down, and the bytes for a given config are the same. That makes it safe to snapshot in a test.

Exit code

0 when the config loads, whether or not it defines any scripts. 1 when the config cannot be found, parsed or validated, with the reason on stderr.