[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.

chore(@clack/prompts): update readme (#162)

authored by

Nate Moore and committed by
GitHub
(Dec 13, 2024, 10:57 PM -0600) 564e7176 dcc58272

+3 -1
+3 -1
packages/prompts/README.md
··· 34 34 ```js 35 35 import { isCancel, cancel, text } from '@clack/prompts'; 36 36 37 - const value = await text(/* TODO */); 37 + const value = await text({ 38 + message: 'What is the meaning of life?', 39 + }); 38 40 39 41 if (isCancel(value)) { 40 42 cancel('Operation cancelled.');