MCPcopy Create free account
hub / github.com/Noumena-Network/code / getBaseRenderOptions

Function getBaseRenderOptions

src/utils/renderOptions.ts:87–96  ·  view source on GitHub ↗
(
  exitOnCtrlC: boolean = false,
)

Source from the content-addressed store, hash-verified

85 * @param exitOnCtrlC - Whether to exit on Ctrl+C (usually false for dialogs)
86 */
87export function getBaseRenderOptions(
88 exitOnCtrlC: boolean = false,
89): RenderOptions {
90 const stdin = getStdinOverride()
91 const options: RenderOptions = { exitOnCtrlC }
92 if (stdin) {
93 options.stdin = stdin
94 }
95 return options
96}

Callers 5

getRenderContextFunction · 0.85
runFunction · 0.85
showInvalidConfigDialogFunction · 0.85

Calls 1

getStdinOverrideFunction · 0.85

Tested by

no test coverage detected