Skip to content

Commit

Permalink
Added lgos to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
babakfp committed Oct 14, 2024
1 parent 45ee73b commit 75aeac4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Binary file added .github/assets/clack-logs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions packages/prompts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,18 @@ await p.tasks([
},
]);
```

### Logs

```js
import { log } from '@clack/prompts';

log.info('Info!');
log.success('Success!');
log.step('Step!');
log.warn('Warn!');
log.error('Error!');
log.message('Hello, World', { symbol: color.cyan('~') });
```

[clack-log-prompts](https://github.com/natemoo-re/clack/blob/main/.github/assets/clack-logs.png)

0 comments on commit 75aeac4

Please sign in to comment.