()
| 175 | } |
| 176 | |
| 177 | func (m tuiModelWithInitialWorker) Init() tea.Cmd { |
| 178 | return tea.Batch( |
| 179 | m.tuiModel.Init(), |
| 180 | func() tea.Msg { return tui.NavigateToWorkerMsg{WorkerID: m.initialWorkerID} }, |
| 181 | ) |
| 182 | } |
| 183 | |
| 184 | func init() { |
| 185 | rootCmd.AddCommand(workerCmd) |