@adonisjs/ace
Version:
A CLI framework for Node.js
14 lines (13 loc) • 390 B
TypeScript
import type { AllowedInfoValues, UIPrimitives } from '../types.js';
/**
* Info formatter is used to format the kernel info key-value pair
* into a table.
*/
export default class InfoFormatter {
#private;
constructor(info: Map<string, AllowedInfoValues>, colors: UIPrimitives['colors']);
/**
* Formats the info map into an array of rows
*/
format(): string[];
}