Display the alias name of cabals when in multi-cabal mode
narFnarF opened this issue · comments
It looks like cabal aliases don't currently get passed down into cabal-client
. If someone wanted to do a fix, I think the steps would look like
- Plumb a new
opts.cabalAliases
param down intoClient
incabal-client
, passingconfig.aliases
into this fromcabal-cli
. - Save that arg to
this.cabalAliases
in theClient
constructor. - Plumb any aliases for a cabal down into any
CabalDetails
that get created as a newopts
parameter. - Expose a cabal's aliases as e.g.
CabalDetails.getAliases()
. - Use that new method in
neat-screen.js
incabal-cli
to render all aliases for that cabal in the info line.