NewCommand creates new command exec task
(ctx *plan.Context, p *plan.Command)
| 28 | |
| 29 | // NewCommand creates new command exec task |
| 30 | func NewCommand(ctx *plan.Context, p *plan.Command) *Command { |
| 31 | m := &Command{ |
| 32 | TaskBase: NewTaskBase(ctx), |
| 33 | p: p, |
| 34 | } |
| 35 | return m |
| 36 | } |
| 37 | |
| 38 | // Close Command |
| 39 | func (m *Command) Close() error { |
no test coverage detected