MCPcopy Create free account
hub / github.com/UiPath/uipathcli / Executor

Interface Executor

executor/executor.go:14–16  ·  view source on GitHub ↗

The Executor interface is an abstraction for carrying out CLI commands. The ExecutionContext provides all the data needed to execute a command. The OutputWriter should be used to output the result of the command. The Logger should be used for providing additional information when running a command.

Source from the content-addressed store, hash-verified

12// The OutputWriter should be used to output the result of the command.
13// The Logger should be used for providing additional information when running a command.
14type Executor interface {
15 Call(ctx ExecutionContext, writer output.OutputWriter, logger log.Logger) error
16}

Callers 1

executeCommandMethod · 0.65

Implementers 2

HttpExecutorexecutor/http_executor.go
PluginExecutorexecutor/plugin_executor.go

Calls

no outgoing calls

Tested by

no test coverage detected