MCPcopy Index your code
hub / github.com/foxcpp/maddy / MustRunCLI

Method MustRunCLI

tests/t.go:272–278  ·  view source on GitHub ↗
(args ...string)

Source from the content-addressed store, hash-verified

270}
271
272func (t *T) MustRunCLI(args ...string) string {
273 s, err := t.RunCLI(args...)
274 if err != nil {
275 t.Fatalf("maddy %v: %v", args, err)
276 }
277 return s
278}
279
280func (t *T) RunCLI(args ...string) (string, error) {
281 t.ensureCanRun()

Callers

nothing calls this directly

Calls 1

RunCLIMethod · 0.95

Tested by

no test coverage detected