aquaproj / aqua

Declarative CLI Version manager written in Go. Support Lazy Install, Registry, and continuous update with Renovate. CLI version is switched seamlessly
https://aquaproj.github.io
833 stars 37 forks source link

`aqua list -i` is missing, whereas `aqua list --installed` exists #2952

Closed sato-s closed 3 months ago

sato-s commented 3 months ago

Feature Overview

I'm not sure this is intentional or not. But, aqua list -i doesn't exist, whereas there is aqua list --installed.

I think -i should be defined here. https://github.com/aquaproj/aqua/blob/3e51c0d971a5b98b4448b6c12bfbffc8e8542774/pkg/cli/list.go#L39-L48

Why is the feature needed?

For consistency. Because there are aqua list -a, aqua g -g, aqua -h.....

Workaround

Just use aqua list --installed

Example Code

$ aqua list -i # => Same output as aqua install --installed

Note

No response

suzuki-shunsuke commented 3 months ago

Thank you for your proposal. It looks reasonable. Could you send a pull request?

sato-s commented 3 months ago

Fixed by #2965