MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / InteractiveCommand

Method InteractiveCommand

internal/agent/cursor.go:48–52  ·  view source on GitHub ↗

InteractiveCommand implements loop.Provider.

(workDir, prompt string)

Source from the content-addressed store, hash-verified

46
47// InteractiveCommand implements loop.Provider.
48func (p *CursorProvider) InteractiveCommand(workDir, prompt string) *exec.Cmd {
49 cmd := exec.Command(p.cliPath, prompt)
50 cmd.Dir = workDir
51 return cmd
52}
53
54// ParseLine implements loop.Provider.
55func (p *CursorProvider) ParseLine(line string) *loop.Event {

Callers 1

Calls

no outgoing calls

Tested by 1