Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/docker-agent
/ setCommands
Method
setCommands
pkg/leantui/autocomplete.go:20–22 ·
view source on GitHub ↗
(cmds []command)
Source
from the content-addressed store, hash-verified
18
}
19
20
func
(a *autocomplete) setCommands(cmds []command) {
21
a.all = cmds
22
}
23
24
// sync recomputes the popup state from the current editor text. It returns true
25
// while the popup is showing.
Callers
4
refreshCommands
Method · 0.80
TestAutocompleteActivation
Function · 0.80
TestAutocompleteNavigation
Function · 0.80
TestAutocompleteRenderWidth
Function · 0.80
Calls
no outgoing calls
Tested by
3
TestAutocompleteActivation
Function · 0.64
TestAutocompleteNavigation
Function · 0.64
TestAutocompleteRenderWidth
Function · 0.64