-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
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
Support installing only specific commands and packages by aqua i
's command line arguments
#1900
Comments
I've seen folks actually try to do this when I introduced them to the tool, as they assumed it worked like brew. If you do allow it then I suggest making a flag to |
I assumed that given packages were already added in You suggest the flag that adds packages to |
If aqua isn't meant to handle one off installs, then I would propose installing a specific package by name should automatically persist that to the configuration file. Even though it may not be what other tools do it definitely aligns with aqua's approach about configurations as code. If aqua was more like brew, then I would say no. However, the per project configurations seems to be the most mentioned. I use global configuration, but I'm fine with editing my config and running install afterwards. I think having it persist in the project level configurations to guide users better to use aqua as intended. |
Let's assume that So I think if the package isn't found in |
Feature Overview
Support installing only specific commands and packages by
aqua i
's command line arguments.Why is the feature needed?
To install only specific packages without executing them.
Workaround
There are three workarounds.
Sometimes we use the workaround
1
, but this is a hack and looks weird. Ideally I don't want to run the external command to install it.2 and 3 is verbose.
Does the feature include Breaking Changes?
No.
Example Code
$ aqua i go cli/cli
If the argument includes
/
, aqua treats it as the package name, otherwise aqua treats it as command.The text was updated successfully, but these errors were encountered: