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

Method createInspectCommand

commandline/command_builder.go:745–758  ·  view source on GitHub ↗
(definitions []parser.Definition)

Source from the content-addressed store, hash-verified

743}
744
745func (b CommandBuilder) createInspectCommand(definitions []parser.Definition) *CommandDefinition {
746 flags := NewFlagBuilder().
747 AddHelpFlag().
748 Build()
749
750 subcommands := []*CommandDefinition{
751 b.createShowCommand(definitions),
752 }
753
754 return NewCommand("commands", "Inspect available CLI operations", "Command to inspect available uipath CLI operations").
755 WithFlags(flags).
756 WithSubcommands(subcommands).
757 WithHidden(true)
758}
759
760func (b CommandBuilder) createServiceCommands(definitions []parser.Definition) []*CommandDefinition {
761 commands := []*CommandDefinition{}

Callers 1

CreateMethod · 0.95

Calls 8

createShowCommandMethod · 0.95
NewFlagBuilderFunction · 0.85
AddHelpFlagMethod · 0.80
WithSubcommandsMethod · 0.80
WithFlagsMethod · 0.80
NewCommandFunction · 0.70
BuildMethod · 0.45
WithHiddenMethod · 0.45

Tested by

no test coverage detected