@simbo/cli-output
Version:
A collection of utilities for common CLI messages and output.
11 lines • 340 B
JavaScript
import { dim } from 'yoctocolors';
/**
* A termination message prefixed with a skull emoji.
*
* @param causeOfDeath - The reason for termination.
* @returns A formatted termination message.
*/
export function terminated(causeOfDeath) {
return `💀 Terminated. ${dim(`(${causeOfDeath})`)}`;
}
//# sourceMappingURL=terminated.js.map