Added fixes to cover the following two scenarios:
1- When a package with the same name is installed from different origins. For example: yonaskolb/xcodegen and acecilia/xcodegen.
2- When a package produces multiple executables.
The main additions of this PR are:
A rewrite of the list option.
A fix for the run option, so it asks for which package to run when multiple origins are detected, instead of just running the first match.
A rewrite of the uninstall option, which includes the following fix: previously, the name for the symlink to remove was calculated using the passed package name, which could be partial (for example sample instead of samplepackage), resulting on the symlink not being removed. Also added tests
Added fixes to cover the following two scenarios: 1- When a package with the same name is installed from different origins. For example:
yonaskolb/xcodegen
andacecilia/xcodegen
. 2- When a package produces multiple executables.The main additions of this PR are:
list
option.run
option, so it asks for which package to run when multiple origins are detected, instead of just running the first match.uninstall
option, which includes the following fix: previously, the name for the symlink to remove was calculated using the passed package name, which could be partial (for examplesample
instead ofsamplepackage
), resulting on the symlink not being removed. Also added tests