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

Function getCliDisplayCommand

src/utils/cliDisplayCommand.ts:1–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1export function getCliDisplayCommand(): string {
2 const explicitCommand = process.env.NCODE_CLI_DISPLAY_COMMAND?.trim()
3 if (explicitCommand) {
4 return explicitCommand
5 }
6
7 if (process.env.NCODE_BUILD_MODE === 'noumena') {
8 return 'code'
9 }
10
11 return 'claude'
12}
13
14export function getTeleportResumeCommand(sessionId: string): string {
15 return `${getCliDisplayCommand()} --teleport ${sessionId}`

Callers 2

getTeleportResumeCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected