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