(commands []*CommandDefinition)
| 33 | } |
| 34 | |
| 35 | func (b CommandBuilder) sort(commands []*CommandDefinition) { |
| 36 | sort.Slice(commands, func(i, j int) bool { |
| 37 | return commands[i].Name < commands[j].Name |
| 38 | }) |
| 39 | } |
| 40 | |
| 41 | func (b CommandBuilder) fileInput(context *CommandExecContext, parameters []parser.Parameter) stream.Stream { |
| 42 | value := context.String(FlagNameFile) |
no outgoing calls
no test coverage detected