Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-task/task
/ canPrompt
Method
canPrompt
requires.go:14–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
)
13
14
func
(e *Executor) canPrompt() bool {
15
return
e.Interactive && (e.AssumeTerm || term.IsTerminal())
16
}
17
18
func
(e *Executor) newPrompter() *input.Prompter {
19
return
&input.Prompter{
Callers
3
promptDepsVars
Method · 0.95
promptTaskVars
Method · 0.95
RunTask
Method · 0.95
Calls
1
IsTerminal
Function · 0.92
Tested by
no test coverage detected