casey / casey/just

Feature request: "--list-settings" flag

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

Description

Just like `--list` and `--list-submodules` but for listing settings.

Example, for this `justfile`:

```just
set allow-duplicate-recipes
set allow-duplicate-variables
set shell := ["bash", "-euo", "pipefail", "-c"]
set unstable
```

I would get an output like this after running `just --list-settings` (formatting is for demo purposes):

```text
User settings:

- allow-duplicate-recipes: TRUE
- set allow-duplicate-variables: TRUE
- unstable: TRUE
- shell: "bash -euo pipefail -c"

Default settings:
... list of settings with their default values here
```

Contributor guide

Open the contributing guide

Research direction

Start by finding the existing `--list` and `--list-submodules` CLI entry points and their output handling. Trace how user and default settings are represented, then define the listing output for the example settings; done means `just --list-settings` reports both user values and defaults consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.