"cabal list-bin" should list all available targets on failure
Open
cabal-install: cmd/list-bin
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the bug**
`cabal list-bin` returns an error instead of listing all of the available binaries.
**To Reproduce**
Steps to reproduce the behavior:
```
$ cabal list-bin
```
**Expected behavior**
Similarly to `ls`, I'd expect to see all the binaries.
E.g., `ls ` lists one specified file, but `ls` lists the entire contents of the current directory.
Contributor guide
Assessment
This issue has not been assessed yet.