Open p3lim opened 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.
That's reasonable. And updating individually I agree is not necessary.
This is more a quality of life, but it would be nice if when I run
lua install.lua foo
whenfoo
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.