14 lines
238 B
Go
14 lines
238 B
Go
package contract
|
|
|
|
type CommandRun interface {
|
|
// Run executes nft command.
|
|
Run(arg ...string) error
|
|
}
|
|
|
|
type Command interface {
|
|
CommandRun
|
|
|
|
// RunWithOutput Run nft command with output.
|
|
RunWithOutput(arg ...string) (string, error)
|
|
}
|