Run tasks directly with language-independent project tools
This commit is contained in:
@@ -100,14 +100,8 @@ func (m Model) configureCLIRun() (tea.Model, tea.Cmd) {
|
||||
m.runPaths = append([]string(nil), m.cliOptions.WritePaths...)
|
||||
if m.cliOptions.Prompt != "" {
|
||||
m.runTask = m.cliOptions.Prompt
|
||||
m.runForm = 3
|
||||
m.runInput = newInput()
|
||||
m.runInput.Placeholder = "Type RUN to confirm"
|
||||
cmd = m.runInput.Focus()
|
||||
if m.cliOptions.Yes {
|
||||
cmd = m.startSelectedRun()
|
||||
return m, cmd
|
||||
}
|
||||
cmd = m.startSelectedRun()
|
||||
return m, cmd
|
||||
}
|
||||
return m, cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user