Add Command method to BatchBuilder interface and implementation
This commit is contained in:
@@ -6,6 +6,9 @@ import (
|
||||
|
||||
// BatchBuilder is an API for building a batch of commands.
|
||||
type BatchBuilder interface {
|
||||
// Command returns the command to run.
|
||||
Command() CommandRun
|
||||
|
||||
// Clear clears all rules.
|
||||
//
|
||||
// This command is equivalent to:
|
||||
|
||||
Reference in New Issue
Block a user