Motivation:
Stack's ls dependencies command allows the user to filter out (--filter ITEM and --prune PACKAGES - also --no-external, --no-include-base, --depth DEPTH) but not to 'filter in'.
I propose a --query ITEM filter which would exclude package names from the output unless they were the item. Example use:
> stack ls dependencies --query base --separator -
base-4.22.0.0
Motivation:
Stack's
ls dependenciescommand allows the user to filter out (--filter ITEMand--prune PACKAGES- also--no-external,--no-include-base,--depth DEPTH) but not to 'filter in'.I propose a
--query ITEMfilter which would exclude package names from the output unless they were the item. Example use: