@nestjs/cli
Version:
Nest - modern, fast, powerful node.js web framework (@cli)
9 lines (8 loc) • 329 B
TypeScript
/**
* Whether the process can ask the user a question.
*
* Prompts need a TTY on stdin. Under CI, a pipe or `execSync`, asking would
* block forever with nothing to answer it, so callers fall back to a
* non-interactive default (or explicit flags) instead of prompting.
*/
export declare function isInteractive(): boolean;