(command string, length int)
| 127 | } |
| 128 | |
| 129 | func getCustomCommandName(command string, length int) string { |
| 130 | args := strings.Split(command, " ") |
| 131 | if length == 0 && len(args) >= 2 && isCustomCommand(args[1]) { |
| 132 | return args[1] |
| 133 | } |
| 134 | return "" |
| 135 | } |
| 136 | |
| 137 | // ExecuteCommand ... |
| 138 | func (gohanClientCLI *GohanClientCLI) ExecuteCommand(command string, arguments []string) (string, error) { |
no test coverage detected