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

Method sort

commandline/command_builder.go:35–39  ·  view source on GitHub ↗
(commands []*CommandDefinition)

Source from the content-addressed store, hash-verified

33}
34
35func (b CommandBuilder) sort(commands []*CommandDefinition) {
36 sort.Slice(commands, func(i, j int) bool {
37 return commands[i].Name < commands[j].Name
38 })
39}
40
41func (b CommandBuilder) fileInput(context *CommandExecContext, parameters []parser.Parameter) stream.Stream {
42 value := context.String(FlagNameFile)

Callers 1

createServiceCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected