haskell / haskell/cabal

`cabal list` has bad defaults

Open
#2,216 0 comments 0 reactions 0 assignees View on GitHub
cabal-install: cmd/list old-milestone: cabal-install 2.0 type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

The 5-line output is silly, you have to grep it regardless so assuming it's going to be read by a human is erroneous due to the volume of text.

Deprecate the option (stderr warning?) that makes it greppable, make that the default.

Contributor guide

Open the contributing guide

Research direction

Start by locating the cabal list command implementation and the option that currently produces greppable output. Check how command-line deprecations are reported; done means the greppable format is the default and the old option emits the intended warning while existing list behavior remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.