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
doctor, pantry, recipe and report resolve config from CWD, ignoring -b #711
cook doctor (and pantry/recipe/report) resolve config/aisle.conf/pantry.conf from the CWD, ignoring -b.
Where
src/main.rsconfigure_context (base path only wired for Server/ShoppingList/Build); src/doctor.rsrun_aisle/run_pantry use ctx.aisle()/ctx.pantry() while scanning args.base_path.
Repro
From any directory:
$ cook doctor aisle -b /path/to/recipes # /path/to/recipes has config/aisle.conf
No aisle configuration found
(all ingredients reported uncategorized)
cook shopping-list -b /path/to/recipes uses the same config correctly.
Expected
-b selects the recipe directory and its config/ for every command that scans that directory.
Actual
With doctor (and pantry/recipe/report), the config is resolved from the current working directory, not -b.
Acceptance criteria (red → green)
Red: the repro reports "No aisle configuration found" despite config/aisle.conf existing under -b.
Green: the repro finds and uses the aisle configuration from <base>/config/.
Activity
fix(cli): resolve config from -b for every command (#734)