Skip to content

Add ls dependencies --query ITEM #6956

Description

@mpilgrem

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions