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

Method loadAutocompleteDefinitions

commandline/command_builder.go:714–719  ·  view source on GitHub ↗
(args []string, serviceVersion string)

Source from the content-addressed store, hash-verified

712}
713
714func (b CommandBuilder) loadAutocompleteDefinitions(args []string, serviceVersion string) ([]parser.Definition, error) {
715 if len(args) <= 2 {
716 return b.DefinitionProvider.Index(serviceVersion)
717 }
718 return b.loadDefinitions(args, serviceVersion)
719}
720
721func (b CommandBuilder) createShowCommand(definitions []parser.Definition) *CommandDefinition {
722 flags := NewFlagBuilder().

Callers 1

Calls 2

loadDefinitionsMethod · 0.95
IndexMethod · 0.80

Tested by

no test coverage detected