nixin72 / shan

A declarative wrapper around your favourite system-wide package manager
MIT License
8 stars 0 forks source link

[FEAT] - A command to set the default package manager #9

Closed nixin72 closed 2 years ago

nixin72 commented 2 years ago

Is your feature request related to a problem? Please describe. Changing the default package manager requires doing it directly from the config. If you can install and remove packages from the CLI interface, it makes sense to be able to change the default package manager too.

Describe the solution you'd like A command like

shan default paru

That would set the value of :default-manager to paru in your shan.edn

Describe alternatives you've considered Manually setting it, as mentioned.

nixin72 commented 2 years ago

I should be doing things in PRs to I can link to where the work is done, but I'll start doing that after 1.0 release.