[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

add `log.warning()` alias

Oskar Löfgren (Feb 25, 2023, 12:56 AM +0100) a9f6f02f 50660821

+4
+4
packages/prompts/src/index.ts
··· 430 430 warn: (message: string) => { 431 431 log.message(message, { symbol: color.yellow(S_WARN) }); 432 432 }, 433 + /** alias for `log.warn()`. */ 434 + warning: (message: string) => { 435 + log.warn(message); 436 + }, 433 437 error: (message: string) => { 434 438 log.message(message, { symbol: color.red(S_ERROR) }); 435 439 },