MCPcopy Create free account
hub / github.com/anchordotdev/cli / UI

Method UI

cli_test.go:97–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95type PanicCommand struct{}
96
97func (c PanicCommand) UI() cli.UI {
98 return cli.UI{
99 RunTUI: c.run,
100 }
101}
102
103func (c *PanicCommand) run(ctx context.Context, drv *ui.Driver) error {
104 drv.Activate(ctx, &TestHeader{Type: "panic"})

Callers 1

TestPanicFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected