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

Method formatAllowedValues

commandline/command_builder.go:97–105  ·  view source on GitHub ↗
(values []interface{})

Source from the content-addressed store, hash-verified

95}
96
97func (b CommandBuilder) formatAllowedValues(values []interface{}) string {
98 result := ""
99 separator := ""
100 for _, value := range values {
101 result += fmt.Sprintf("%s%v", separator, value)
102 separator = ", "
103 }
104 return result
105}
106
107func (b CommandBuilder) createFlags(parameters []parser.Parameter) []*FlagDefinition {
108 flags := []*FlagDefinition{}

Callers 1

validateArgumentsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected