Skip to content

Commit

Permalink
fix: manage opts show => interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 28, 2022
1 parent 16fd35c commit 93a3a6c
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions lua/lazy/view/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,28 @@ end

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

Expand Down

0 comments on commit 93a3a6c

Please sign in to comment.