fix: manage opts show => interactive

This commit is contained in:
Folke Lemaitre 2022-11-28 13:11:41 +01:00
parent 16fd35c285
commit 93a3a6ccb5
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 7 additions and 10 deletions

View File

@ -17,31 +17,28 @@ end
M.commands = { M.commands = {
clean = function() clean = function()
Manage.clean({ clear = true, show = true }) Manage.clean({ clear = true, interactive = true })
end, end,
clear = function() clear = function()
Manage.clear() Manage.clear()
View.show() View.show()
end, end,
install = function() install = function()
Manage.install({ clear = true, show = true }) Manage.install({ clear = true, interactive = true })
end, end,
log = function() log = function()
Manage.log({ clear = true, show = true }) Manage.log({ clear = true, interactive = true })
end, end,
show = function() show = function()
View.show() View.show()
end, end,
docs = function()
Manage.docs({ clear = true, show = true })
end,
sync = function() sync = function()
Manage.update({ clear = true, show = true }) Manage.clean({ interactive = true, clear = true, wait = true })
Manage.install({ show = true }) Manage.update({ interactive = true })
Manage.clean({ show = true }) Manage.install({ interactive = true })
end, end,
update = function() update = function()
Manage.update({ clear = true, show = true }) Manage.update({ clear = true, interactive = true })
end, end,
} }