#5734 is still relevant in cabal-install 3.9.0.0 and this is a rather shameful footgun. There are today alternatives to it, like @phadej/cabal-fmt, which performs much better.
In parallel, we do not even show format in the cabal --help message.
I would like us to take a decision regarding what we make of the format option.
@phadej Although I understand that the "goal of [this] project is to iterate independently of cabal-install"¹, would you say that it has reached suitable maturity for integration? I use the auto-expander syntax these days and I'm satisfied of how it works.
Personally I'd like see cabal-fmt as a new code path for cabal format. This can be advertised as being experimental, but in the end a clear improvement for the users.
#5734 is still relevant in cabal-install 3.9.0.0 and this is a rather shameful footgun. There are today alternatives to it, like @phadej/cabal-fmt, which performs much better.
In parallel, we do not even show
formatin thecabal --helpmessage.I would like us to take a decision regarding what we make of the
formatoption.@phadej Although I understand that the "goal of [this] project is to iterate independently of cabal-install"¹, would you say that it has reached suitable maturity for integration? I use the auto-expander syntax these days and I'm satisfied of how it works.
Personally I'd like see cabal-fmt as a new code path for
cabal format. This can be advertised as being experimental, but in the end a clear improvement for the users.