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

Method WithAction

commandline/command_definition.go:51–54  ·  view source on GitHub ↗
(action CommandExecFunc)

Source from the content-addressed store, hash-verified

49}
50
51func (c *CommandDefinition) WithAction(action CommandExecFunc) *CommandDefinition {
52 c.Action = action
53 return c
54}
55
56func NewCommand(name string, summary string, description string) *CommandDefinition {
57 return &CommandDefinition{

Calls

no outgoing calls

Tested by

no test coverage detected