(definitions []parser.Definition)
| 743 | } |
| 744 | |
| 745 | func (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 | |
| 760 | func (b CommandBuilder) createServiceCommands(definitions []parser.Definition) []*CommandDefinition { |
| 761 | commands := []*CommandDefinition{} |
no test coverage detected