Cabal should include build targets in --list-options
#1382
Labels
cabal-install: other
old-milestone: ⊥
Moved from https://github.com/haskell/cabal/milestone/5
type: enhancement
Milestone
This would simplify implementing
(bash)Programmable Completion
for commands taking a build target, such ascabal build
,cabal test
orcabal run
, as the current state would require to reinventcabal
'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.The text was updated successfully, but these errors were encountered: