Phanx / wow-addon-updater

Install and update World of Warcraft addons from the command line on Linux
zlib License
4 stars 1 forks source link

Uninstalling addons #23

Open p3lim opened 6 years ago

p3lim commented 6 years ago

This is more a quality of life, but it would be nice if when I run lua install.lua foo when foo is already installed, the script would ask me if I wanted to uninstall or update instead.

Currently if I wanted to uninstall an addon I feel obligated to clean up the db myself, which should also be dealt with.

It taking a named addon in this scenario depends on #22.

Phanx commented 6 years ago

It should probably take a -d flag to specify that you want to delete it. Otherwise if you tell it to install an addon that's already installed, it should just inform you that it's already installed and exit (I don't remember offhand whether it already does this or not). Updating addons individually isn't a feature I want to support.

p3lim commented 6 years ago

That's reasonable. And updating individually I agree is not necessary.