casey / casey/just

List recipes as tree with `just --tree`.

Open
#1,853 6 comments 3 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
35.8k
Forks
846
Avg merge
27m
Merged PRs (30d)
3

Description

Hi there!
Is there a way to quickly check the recipe dependencies?
I checked the [Listing Available Recipes](https://just.systems/man/en/chapter_24.html) page but it's not mentioned.

If not existing, I think it could be worth to implement.
Let's take an example.
Based on this `Justfile` found in the [documentation](https://just.systems/man/en/chapter_40.html) :
```sh
# Justfile
a:
echo 'A!'

b: a
echo 'B start!'
just c
echo 'B end!'

c:
echo 'C!'
```

We could execute the following command :
```sh
just --list --graph
```

And we could clearly see the recipe dependencies :
```sh
├── a
├── b
│ ├── a
│ └── c
└── c
```

What do you think?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.