cpm icon indicating copy to clipboard operation
cpm copied to clipboard

Use the resolve() function for more package managers

Open willeccles opened this issue 2 years ago • 1 comments

At the moment, only xbps uses this, but presumably this would be useful for any other PM with a from command.

The function: https://github.com/willeccles/cpm/blob/68ff9eb624d6597bcb0f2a7f6eb6ebe826dfa742/cpm#L151-L156

The usage: https://github.com/willeccles/cpm/blob/68ff9eb624d6597bcb0f2a7f6eb6ebe826dfa742/cpm#L316

This is adjacent to #51, which should be an addition to the resolve() function.

willeccles avatar Oct 27 '21 14:10 willeccles

No good solution to use this and support multiple arguments, this is only needed on xbps, and it would just be a downgrade to force single arguments elsewhere.

eepykate avatar Oct 27 '21 15:10 eepykate