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

Method createExecutionParameters

commandline/command_builder.go:83–95  ·  view source on GitHub ↗
(context *CommandExecContext, config *config.Config, operation parser.Operation)

Source from the content-addressed store, hash-verified

81}
82
83func (b CommandBuilder) createExecutionParameters(context *CommandExecContext, config *config.Config, operation parser.Operation) (executor.ExecutionParameters, error) {
84 parameters := []executor.ExecutionParameter{}
85 for _, param := range operation.Parameters {
86 parameter, err := b.createExecutionParameter(context, config, param)
87 if err != nil {
88 return nil, err
89 }
90 if parameter != nil {
91 parameters = append(parameters, *parameter)
92 }
93 }
94 return parameters, nil
95}
96
97func (b CommandBuilder) formatAllowedValues(values []interface{}) string {
98 result := ""

Callers 1

Calls 1

Tested by

no test coverage detected