commercialhaskell / commercialhaskell/stack

Option to group output from `stack ls dependencies --license` for readability

Open
#5,198 0 comments 1 reaction 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Would like to group the dependencies by license from `stack ls dependencies --license`. This allows for greater readability.

It is currently in the form of:
```
$ stack ls dependencies --license
happy BSD2
ansi-terminal BSD3
array BSD3
hashable BSD3
wai MIT
wai-extra MIT
...
```

Suggest adding flag to sort this output into groups

```
$ stack ls dependencies --license --group
BSD2: happy
BSD3: array, hashable, ansi-terminal
MIT: wait, wai-extra
...
```
Am happy to open a PR if others find this helpful as well. Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.