MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / ShowHostCommandMenu

Method ShowHostCommandMenu

internal/plugins/command-runner/plugin.go:51–53  ·  view source on GitHub ↗

ShowHostCommandMenu displays the command menu for a host

(host string, onClose func())

Source from the content-addressed store, hash-verified

49
50// ShowHostCommandMenu displays the command menu for a host
51func (p *Plugin) ShowHostCommandMenu(host string, onClose func()) {
52 p.uiManager.ShowCommandMenu(TargetHost, host, onClose)
53}
54
55// ShowContainerCommandMenu displays the command menu for a container
56func (p *Plugin) ShowContainerCommandMenu(node string, vmid int, onClose func()) {

Callers 1

handleRunCommandMethod · 0.80

Implementers 4

Plugininternal/ui/plugins/ansible/plugin.go
Plugininternal/ui/plugins/communityscripts/p
Plugininternal/ui/plugins/guestlist/plugin.g
Plugininternal/ui/plugins/commandrunner/plug

Calls 1

ShowCommandMenuMethod · 0.80

Tested by

no test coverage detected