MCPcopy Index your code
hub / github.com/dagger/dagger / AddSection

Method AddSection

cmd/dagger/shell_help.go:213–215  ·  view source on GitHub ↗
(title, body string)

Source from the content-addressed store, hash-verified

211}
212
213func (d *ShellDoc) AddSection(title, body string) {
214 d.Groups = append(d.Groups, ShellDocSection{Title: title, Body: body, Indent: helpIndent})
215}
216
217func (d ShellDoc) String() string {
218 width := getViewWidth()

Callers 1

ModuleDocMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected