MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getOptions

Function getOptions

source code/ink/root.ts:161–172  ·  view source on GitHub ↗
(
  stdout: NodeJS.WriteStream | RenderOptions | undefined = {},
)

Source from the content-addressed store, hash-verified

159}
160
161const getOptions = (
162 stdout: NodeJS.WriteStream | RenderOptions | undefined = {},
163): RenderOptions => {
164 if (stdout instanceof Stream) {
165 return {
166 stdout,
167 stdin: process.stdin,
168 }
169 }
170
171 return stdout
172}
173
174const getInstance = (
175 stdout: NodeJS.WriteStream,

Callers 1

renderSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected