casey / casey/just

Optionally alphabetically sort recipes in `--dump` and `--fmt`

Open
#2,757 1 comment 0 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 maintain clean justfile, it would be useful to be able to sort the file by recipe name. Thx!

In the mean time, I wrote a python script that sorts justfiles: https://gist.github.com/nyurik/8a6db6bfcd0eb7de52287071e63c8ac5

Contributor guide

Open the contributing guide

Research direction

Start by tracing the command paths for `--dump` and `--fmt` in the just CLI, then identify where recipe names are collected and rendered. Implement optional alphabetical ordering while preserving the existing output behavior when sorting is not requested, and verify both modes with the relevant test or command output.

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
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.