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
Since #4424,
stack ls dependencieshas subcommands (tree,textandjson). However, targets can also be given tostack ls dependencies. Say I want to list only the dependencies of thetextpackage. 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: