MCPcopy
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
14func (e *Executor) canPrompt() bool {
15 return e.Interactive && (e.AssumeTerm || term.IsTerminal())
16}
17
18func (e *Executor) newPrompter() *input.Prompter {
19 return &input.Prompter{

Callers 3

promptDepsVarsMethod · 0.95
promptTaskVarsMethod · 0.95
RunTaskMethod · 0.95

Calls 1

IsTerminalFunction · 0.92

Tested by

no test coverage detected