MCPcopy
hub / github.com/unkeyed/unkey / Done

Method Done

pkg/prompt/wizard.go:159–161  ·  view source on GitHub ↗

Done prints a completion message in green. This is optional but provides a clean visual ending to the wizard flow. The message is printed on a new line with green text.

(message string)

Source from the content-addressed store, hash-verified

157// This is optional but provides a clean visual ending to the wizard flow.
158// The message is printed on a new line with green text.
159func (w *Wizard) Done(message string) {
160 _, _ = fmt.Fprintf(w.prompt.out, "\n%s%s%s\n", colorGreen, message, colorReset)
161}
162
163// Current returns the current step number (0-indexed).
164func (w *Wizard) Current() int {

Calls

no outgoing calls