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
--plain is documented as "Display ingredients without aisle categories", and the human, JSON and Markdown writers all honour it. The YAML writer does not — it always categorises.
build_yaml_value(list, &aisle) has no plain parameter, so the flag cannot reach it.
Impact
Anyone scripting against -f yaml --plain gets a different document shape from -f json --plain, silently. No error, no warning.
Noticed while adding characterization tests for cook shopping-list ahead of extracting it into a library crate (see #415 for why that command had no coverage).
Activity
refactor(shopping-list): delegate list generation to cookcli-core
fix(shopping-list): honour --plain in the YAML writer