Skip to content

Cabal should include build targets in --list-options #1382

@hvr

Description

@hvr

This would simplify implementing (bash)Programmable Completion for commands taking a build target, such as cabal build, cabal test or cabal run, as the current state would require to reinvent cabal's strategy for locating the .cabal file and parsing the cabal file for potential targets (while not being able to detect currently disabled targets)

So basically this just requires to include the targets where applicable in the --list-options output.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions