github aquaproj/aqua v1.2.0-0

latest releases: v2.37.2, v2.37.1, v2.37.0...
pre-release2 years ago

Pull Requests | Issues | v1.1.0...v1.2.0-0

Feature

#609 #610 Read global configuration in generate and list command

Read a global configuration file in aqua generate and aqua list command if no configuration file is found.

Even if multiple global configuration files are set, only file which is found at first is used.

e.g.

AQUA_GLOBAL_CONFIG=A:B

If the file A is found, the file B is ignored.

Why is the feature needed?

Please explain the problem you want to solve.

When you want to check if a tool is supported by aqua registries with aqua g command,
It is inconvenient that aqua g doesn't read global configuration.

$ aqua g
FATA[0000] aqua failed                                   aqua_version=1.1.0 error="configuration file isn't found" program=aqua

To execute aqua g, you have to change the current directory.

Example Code

command and configuration

AS IS

$ aqua list
FATA[0000] aqua failed                                   aqua_version=1.1.0 error="configuration file isn't found" program=aqua
$ aqua g
FATA[0000] aqua failed                                   aqua_version=1.1.0 error="configuration file isn't found" program=aqua

TO BE

$ aqua list
standard,99designs/aws-vault
standard,abiosoft/colima
standard,abs-lang/abs
standard,accurics/terrascan
standard,aelsabbahy/goss

...
$ aqua g # Fuzzy Finder is launched

Don't miss a new aqua release

NewReleases is sending notifications on new releases.