We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looking at pkgx and their "universal interpreter" feature, I wonder if something similar would be feasible for aqua.
Makes dependencies of shell scripts explicit and painless to "install" -- as long as the user uses aqua, of course. ;)
This script kind of works: reitzig/scripts:aquax
Avoiding the intermediate config file would be neater and probably more efficient, though. One might want to tailor the output to the use case, too.
#!/usr/bin/env -S aquax +charmbracelet/gum +mikefarah/yq bash gum log --level info "Aqua registry at $(yq '.registries.[] | select(.type == "standard") | .ref' < ~/.config/aqua/aqua.yaml)"
Or even:
#!/usr/bin/env -S aquax +charmbracelet/[email protected] +mikefarah/yq>=4 bash gum log --level info "Aqua registry at $(yq '.registries.[] | select(.type == "standard") | .ref' < ~/.config/aqua/aqua.yaml)"
NB: Fixed versions work with the workaround script; version ranges don't. (Don't think aqua supports them, either?)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Overview
Looking at pkgx and their "universal interpreter" feature, I wonder if something similar would be feasible for aqua.
Why is the feature needed?
Makes dependencies of shell scripts explicit and painless to "install" -- as long as the user uses aqua, of course. ;)
Workaround
This script kind of works: reitzig/scripts:aquax
Avoiding the intermediate config file would be neater and probably more efficient, though. One might want to tailor the output to the use case, too.
Example Code
Or even:
NB: Fixed versions work with the workaround script; version ranges don't. (Don't think aqua supports them, either?)
Note
No response
The text was updated successfully, but these errors were encountered: