1 | "use strict";
|
2 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
3 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
4 | };
|
5 | Object.defineProperty(exports, "__esModule", { value: true });
|
6 | const chalk_1 = __importDefault(require("chalk"));
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | function meta(settings) {
|
13 | return chalk_1.default.grey(Object.entries(settings || {})
|
14 | .filter((item) => item[1])
|
15 | .map((item) => {
|
16 | const [name, value] = item;
|
17 | return typeof value === 'boolean' ? `[${name}]` : `[${name}=${value}]`;
|
18 | })
|
19 | .join(' '));
|
20 | }
|
21 | exports.default = meta;
|
22 |
|
\ | No newline at end of file |