You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: config set treats negative numeric values as CLI flags #45
Running mlx-stack config set memory-budget-pct -5 produces:
Error: No such option: -5
Click interprets -5 as a CLI flag instead of a value argument. This is a known Click limitation when positional arguments start with -.
Steps to Reproduce
mlx-stack config set memory-budget-pct -5
# Expected: "Invalid memory budget '-5'. Must be between 1 and 100."# Actual: "Error: No such option: -5"
Expected Behavior
Negative values should be passed through to the validation layer, which already correctly rejects out-of-range values (tested: 200 correctly produces "Must be between 1 and 100").
Possible Fixes
Use Click's nargs or type handling to prevent flag interpretation
Activity