MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getOptions

Function getOptions

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

Source from the content-addressed store, hash-verified

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

Callers 1

renderSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected