MCPcopy
hub / github.com/charmbracelet/huh / Description

Method Description

group.go:77–80  ·  view source on GitHub ↗

Description sets the group's description.

(description string)

Source from the content-addressed store, hash-verified

75
76// Description sets the group's description.
77func (g *Group) Description(description string) *Group {
78 g.description = description
79 return g
80}
81
82// WithShowHelp sets whether or not the group's help should be shown.
83func (g *Group) WithShowHelp(show bool) *Group {

Callers 15

TestFormFunction · 0.45
TestInlineInputFunction · 0.45
TestHideGroupFunction · 0.45
TestPrevGroupFunction · 0.45
TestNoteFunction · 0.45
huh_test.goFile · 0.45
TestAccessibleFieldsFunction · 0.45
NewModelFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 7

TestFormFunction · 0.36
TestInlineInputFunction · 0.36
TestHideGroupFunction · 0.36
TestPrevGroupFunction · 0.36
TestNoteFunction · 0.36
TestAccessibleFieldsFunction · 0.36