MCPcopy
hub / github.com/dagger/dagger / Add

Method Add

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

Source from the content-addressed store, hash-verified

205}
206
207func (d *ShellDoc) Add(title, body string) {
208 if body != "" {
209 d.Groups = append(d.Groups, ShellDocSection{Title: title, Body: body})
210 }
211}
212
213func (d *ShellDoc) AddSection(title, body string) {
214 d.Groups = append(d.Groups, ShellDocSection{Title: title, Body: body, Indent: helpIndent})

Callers 6

defaultHelpMethod · 0.95
MainHelpMethod · 0.95
TypesHelpMethod · 0.95
ModuleDocMethod · 0.95
FunctionDocMethod · 0.95
shellTypeDocFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected