MCPcopy Create free account
hub / github.com/backnotprop/plannotator / isInteractiveNoArgInvocation

Function isInteractiveNoArgInvocation

apps/hook/server/cli.ts:22–27  ·  view source on GitHub ↗
(
  args: string[],
  stdinIsTTY: boolean | undefined,
)

Source from the content-addressed store, hash-verified

20}
21
22export function isInteractiveNoArgInvocation(
23 args: string[],
24 stdinIsTTY: boolean | undefined,
25): boolean {
26 return args.length === 0 && stdinIsTTY === true;
27}
28
29export function formatTopLevelHelp(): string {
30 return [

Callers 2

index.tsFile · 0.90
cli.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected