`cabal list-bin` should not require a target when there is an obvious default.
Open
attention: pr-welcome
cabal-install: cmd/list-bin
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Invoking `cabal list-bin` should just pick the obvious default when possible.**
If there is a cabal file with a single executable it seems like an obvious choice to report the path for this target even if it's not explicitly specified.
Or in other words, in cases where `cabal run` just works, I would expect `list-bin` to also just work. But for some reason they differ in this regard.
Contributor guide
Assessment
This issue has not been assessed yet.