fix(ui): install command can have plugins as a parameter

This commit is contained in:
Folke Lemaitre 2022-12-21 11:18:41 +01:00
parent 4ca30390ec
commit 232232da5a
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 9 additions and 8 deletions

View file

@ -26,8 +26,8 @@ M.commands = {
Manage.clear()
View.show()
end,
install = function()
Manage.install({ clear = true, mode = "install" })
install = function(plugins)
Manage.install({ clear = true, mode = "install", plugins = plugins })
end,
log = function(plugins)
Manage.log({ clear = true, mode = "log", plugins = plugins })