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

Method createAutoCompleteCommand

commandline/command_builder.go:557–570  ·  view source on GitHub ↗
(serviceVersion string)

Source from the content-addressed store, hash-verified

555}
556
557func (b CommandBuilder) createAutoCompleteCommand(serviceVersion string) *CommandDefinition {
558 flags := NewFlagBuilder().
559 AddHelpFlag().
560 Build()
561
562 subcommands := []*CommandDefinition{
563 b.createAutoCompleteEnableCommand(),
564 b.createAutoCompleteCompleteCommand(serviceVersion),
565 }
566
567 return NewCommand("autocomplete", "Autocompletion", "Commands for autocompletion").
568 WithFlags(flags).
569 WithSubcommands(subcommands)
570}
571
572func (b CommandBuilder) createConfigCommand() *CommandDefinition {
573 const flagNameAuth = "auth"

Callers 1

CreateMethod · 0.95

Calls 8

NewFlagBuilderFunction · 0.85
AddHelpFlagMethod · 0.80
WithSubcommandsMethod · 0.80
WithFlagsMethod · 0.80
NewCommandFunction · 0.70
BuildMethod · 0.45

Tested by

no test coverage detected