Member Junction
    Preparing search index...

    Interface InteractivityInput

    Inputs to ResolveInteractivity. Every field is injectable for tests.

    interface InteractivityInput {
        env?: ProcessEnv;
        interactiveFlag?: boolean;
        stdinIsTTY?: boolean;
        stdoutIsTTY?: boolean;
    }
    Index

    Properties

    env?: ProcessEnv

    Defaults to process.env.

    interactiveFlag?: boolean

    The --interactive / --no-interactive flag value, when the caller passed one. undefined means "not specified" — that is what lets detection run.

    stdinIsTTY?: boolean

    Defaults to process.stdin.isTTY. A prompt needs a real stdin to read from.

    stdoutIsTTY?: boolean

    Defaults to process.stdout.isTTY. A prompt needs a real stdout to render on.