DocsPty

PTY namespace

import { PTY } from '@withfig/api-bindings'

execute

Declaration

export async function execute(
  command: string,
  options:
    | {
        env: Record<string, string> | undefined;
        directory: string | undefined;
        isPipelined: boolean | undefined;
        backgroundJob: boolean | undefined;
      }
    | undefined
): Promise<PseudoterminalExecuteResponse>;

write

Declaration

export async function write(text: string): Promise<void>;