(definitions []parser.Definition)
| 758 | } |
| 759 | |
| 760 | func (b CommandBuilder) createServiceCommands(definitions []parser.Definition) []*CommandDefinition { |
| 761 | commands := []*CommandDefinition{} |
| 762 | for _, e := range definitions { |
| 763 | command := b.createServiceCommand(e) |
| 764 | commands = append(commands, command) |
| 765 | } |
| 766 | return commands |
| 767 | } |
| 768 | |
| 769 | func (b CommandBuilder) parseArgument(args []string, name string) string { |
| 770 | for i, arg := range args { |
no test coverage detected