()
| 703 | } |
| 704 | |
| 705 | func (m *AppModel) handlePushModelKey() (tea.Model, tea.Cmd) { |
| 706 | logging.DebugLogger.Println("PushModel key matched") |
| 707 | if item, ok := m.list.SelectedItem().(Model); ok { |
| 708 | m.message = styles.InfoStyle().Render(fmt.Sprintf("Pushing model: %s\n", item.Name)) |
| 709 | m.showProgress = true // Show progress bar |
| 710 | return m, m.startPushModel(item.Name) |
| 711 | } |
| 712 | return m, nil |
| 713 | } |
| 714 | |
| 715 | func (m *AppModel) handlePullModelKey() (tea.Model, tea.Cmd) { |
| 716 | logging.DebugLogger.Println("PullModel key matched") |
no test coverage detected