2026-11-03 04:09:27 +00:00
|
|
|
package ckconfig
|
|
|
|
|
|
2026-11-04 03:52:46 +00:00
|
|
|
import commandkit "go.maximumdirect.net/commandkit"
|
2026-11-03 04:09:27 +00:00
|
|
|
|
|
|
|
|
func completionChoices(values ...string) commandkit.CompletionHint {
|
|
|
|
|
choices := make([]commandkit.CompletionChoice, len(values))
|
|
|
|
|
for i, value := range values {
|
|
|
|
|
choices[i].Value = value
|
|
|
|
|
}
|
|
|
|
|
return commandkit.CompleteChoices(choices...)
|
|
|
|
|
}
|