MCPcopy Index your code
hub / github.com/docker/docker-agent / runTUI

Function runTUI

cmd/root/new.go:93–95  ·  view source on GitHub ↗
(ctx context.Context, rt runtime.Runtime, sess *session.Session, spawner tui.SessionSpawner, cleanup func(), tuiOpts []tui.Option, opts ...app.Opt)

Source from the content-addressed store, hash-verified

91}
92
93func runTUI(ctx context.Context, rt runtime.Runtime, sess *session.Session, spawner tui.SessionSpawner, cleanup func(), tuiOpts []tui.Option, opts ...app.Opt) error {
94 return runTUIWrapped(ctx, rt, sess, spawner, cleanup, tuiOpts, nil, opts...)
95}
96
97// runTUIWrapped is runTUI with an optional model wrapper, used by --record to
98// interpose the input recorder between the terminal and the real model.

Callers 2

runNewCommandMethod · 0.85
runOrExecMethod · 0.85

Calls 1

runTUIWrappedFunction · 0.85

Tested by

no test coverage detected