Skip to content

"cabal list-bin" should list all available targets on failure #8683

@mouse07410

Description

@mouse07410

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 <file> lists one specified file, but ls lists the entire contents of the current directory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions