casey / casey/just

support wildcard imports in justfiles

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

Description

In order to create re-usable toplevel justfiles, I started to split them up per command/tool in a .just-subfolder

For the moment I need to import them file by file and hardcoded each filename:

```
import '.just/git.just'
import '.just/poetry.just'
import '.just/precommit.just'
...
...

I prefer to import all files via wildcard:
```
import '.just/*.just'

...

Contributor guide

Open the contributing guide

Research direction

The issue concerns imports in justfiles and a .just-subfolder; start by locating the existing single-file import handling and its tests. The work is done when an import such as `.just/*.just` discovers and loads the matching justfiles without requiring each filename to be listed.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.