Polyman Documentation - v3.1.0
    Preparing search index...

    Class NonInteractiveError

    Raised when a command would have to prompt but stdin is not a terminal. The message names the flag to pass. It is a usage error, so the CLI exits with EXIT_NON_INTERACTIVE.

    throw new NonInteractiveError('stdin is not a terminal; pass --yes');
    

    Hierarchy (View Summary)

    Index
    exitCode: PolymanExitCode
    hint?: string