Member Junction
    Preparing search index...

    Interface FormatResolutionInput

    Inputs to ResolveOutputFormat. Every field is injectable for tests.

    interface FormatResolutionInput {
        env?: ProcessEnv;
        formatFlag?: string;
        jsonFlag?: boolean;
        stdoutIsTTY?: boolean;
    }
    Index

    Properties

    env?: ProcessEnv

    Defaults to process.env.

    formatFlag?: string

    Raw --format value, if the caller passed one. Accepts the aliases below.

    jsonFlag?: boolean

    Legacy --json boolean, still declared by a few commands.

    stdoutIsTTY?: boolean

    Defaults to process.stdout.isTTY.