Skip to content

Avoid clash between ls dependencies subcommands and targets #5093

@mboes

Description

@mboes

Since #4424, stack ls dependencies has subcommands (tree, text and json). However, targets can also be given to stack ls dependencies. Say I want to list only the dependencies of the text package. With the latest release of Stack (v2.1.3), this is possible. But how will this work in the next version?

I would suggest an alternative CLI. Something like:

$ stack ls dependencies --format json
$ stack ls dependencies --format text
$ stack ls dependencies --format tree

Metadata

Metadata

Assignees

No one assigned

    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