@pokit/reporter-clack
v0.0.21
Published
Clack-based event reporter for pok CLI applications
Downloads
1,619
Maintainers
Readme
@pokit/reporter-clack
Terminal output adapter for pok using Clack.
Installation
bun add @pokit/reporter-clackUsage
import { run } from '@pokit/core';
import { createReporterAdapter } from '@pokit/reporter-clack';
await run(args, {
reporterAdapter: createReporterAdapter(),
// ...
});Features
- Styled log messages (info, success, warn, error)
- Progress spinners
- Grouped output with collapsible sections
- Activity indicators
- Unicode and ASCII symbol sets
Options
createReporterAdapter({
output: {
color: false,
unicode: false,
interactive: false,
verbose: false,
},
});Exports
// Main adapter
import { createReporterAdapter } from '@pokit/reporter-clack';
// Symbol customization
import { getSymbols, UNICODE_SYMBOLS, ASCII_SYMBOLS } from '@pokit/reporter-clack';Documentation
See the full documentation.
