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

Interface CommandPlugin

plugin/command_plugin.go:17–20  ·  view source on GitHub ↗

CommandPlugin is the interface plugin commands need to implement so they can be integrated with the CLI. The Command() operation defines the metadata for the command. The Execute() operation is invoked when the user runs the CLI command.

Source from the content-addressed store, hash-verified

15// The Command() operation defines the metadata for the command.
16// The Execute() operation is invoked when the user runs the CLI command.
17type CommandPlugin interface {
18 Command() Command
19 Execute(ctx ExecutionContext, writer output.OutputWriter, logger log.Logger) error
20}

Callers 4

ExecuteMethod · 0.65
openBrowserMethod · 0.65
openBrowserMethod · 0.65
openBrowserMethod · 0.65

Implementers 13

PackageRestoreCommandplugin/studio/restore/package_restore_
TestRunCommandplugin/studio/testrun/test_run_command
PackagePackCommandplugin/studio/pack/package_pack_comman
PackageAnalyzeCommandplugin/studio/analyze/package_analyze_
PackagePublishCommandplugin/studio/publish/package_publish_
DigitizeCommandplugin/digitizer/digitize_command.go
UploadCommandplugin/orchestrator/upload/upload_comm
DownloadCommandplugin/orchestrator/download/download_
SimplePluginCommandtest/plugin_test.go
ContextPluginCommandtest/plugin_test.go
ErrorPluginCommandtest/plugin_test.go
HideOperationPluginCommandtest/plugin_test.go

Calls

no outgoing calls

Tested by

no test coverage detected