Skip to content

cabal list-bin should not require a target when there is an obvious default. #9714

Open

Description

@AndreasPK

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.

Activity

  1. changed the title [-]´cabal list-bin` should not require a target when there is an obvious default.[/-] [+]`cabal list-bin` should not require a target when there is an obvious default.[/+] on Mar 1, 2024
  2. added a commit that references this issue on May 15, 2026
    7456dc7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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