casey / casey/just

Declare (global) variables that must be set before execution?

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

Description

Is it possible to declare variables that don't have default values assigned?

The expected behavior would be that all recipes (that use the variable?) will fail to run without setting them at the command line.

This would replicate the behavior with recipe parameters, but for global variables.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the requested global-variable behavior with the existing recipe-parameter behavior described in the issue. Determine how variables are parsed and validated before execution, then define the affected recipes and command-line failure behavior; the issue does not name files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.