Pull Requests | Issues | v1.0.0...v1.1.0
Feature
#575 #580 #581 #582 #583 #586 Add aqua g
's -i
option
#587 aqua g
: Support selecting multiple packages by tab key in fuzzy finder
Add aqua g
's -i
option
$ aqua g -i
When this option is set, the search result is added to the configuration file aqua.yaml
instead of outputting to standard input.
e.g.
$ cat aqua.yaml
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
registries:
- type: standard
ref: v1.3.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: suzuki-shunsuke/cmdx@v1.6.1
- name: golangci/golangci-lint@v1.43.0
- name: rhysd/actionlint@v1.6.8
- import: aqua/*.yaml
$ aqua g -i suzuki-shunsuke/tfcmt
$ cat aqua.yaml
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
registries:
- type: standard
ref: v1.4.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: suzuki-shunsuke/cmdx@v1.6.1
- name: golangci/golangci-lint@v1.43.0
- name: rhysd/actionlint@v1.6.8
- import: aqua/*.yaml
- name: suzuki-shunsuke/tfcmt@v3.0.1
$ git diff aqua.yaml
diff --git a/aqua.yaml b/aqua.yaml
index 2e42e6a..790ac5e 100644
--- a/aqua.yaml
+++ b/aqua.yaml
@@ -4,9 +4,9 @@
registries:
- type: standard
ref: v1.4.0 # renovate: depName=aquaproj/aqua-registry
-
packages:
- name: suzuki-shunsuke/cmdx@v1.6.1
- name: golangci/golangci-lint@v1.43.0
- name: rhysd/actionlint@v1.6.8
- import: aqua/*.yaml
+- name: suzuki-shunsuke/tfcmt@v3.0.1
⚠️ Known Issue
Regarding to aqua g -i
, there are two known issues.
#584 aqua g -i
removes new lines
#585 aqua g -i
ignores the indent of registries
when packages:
is empty
aqua g
: Support selecting multiple packages by tab key in fuzzy finder
$ aqua g
You can select multiple packages by tab key.
This feature is powered by go-fuzzyfinder#FindMulti.
Others
#575 chore: update Go from v1.17.5 to v1.17.7
#575 fix: fix readConfig