-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow specifying target binary via cli #23
Comments
This would break the basic assumption of So I would say this is out-of-scope. The best way is to add the alternative to the package. It's just a simple text file. For example for one alternative for /usr/bin/node,
Or you can hack it locally by adding this type of file into the filesystem. This will break if you ever uninstall the package providing this binary, but it would be similar by hardcoding the binary. |
At least we could cover the use case of allowing to specify the target by alternatively passing the binary instead of the prio, which allows user readable commands. |
Thanks for clarification. Basically, instead of doing
allow for
and it would be equivalent result. |
When changing the setting of a binary, currently only the priority can be specified.
It would be better to allow specifying the target binary - at least additionally.
eg:
This would also allow specifying a target binary that is not actually an alternative announced by a package.
The text was updated successfully, but these errors were encountered: