ai-project-boilerplate 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +20 -3
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -249,9 +249,26 @@ async function main() {
|
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
const yellow = (s) => `\x1b[33m${s}\x1b[0m`;
|
|
253
|
+
const cyan = (s) => `\x1b[36m${s}\x1b[0m`;
|
|
254
|
+
const bold = (s) => `\x1b[1m${s}\x1b[0m`;
|
|
255
|
+
const strip = (s) => s.replace(/\x1b\[[0-9;]*m/g, "");
|
|
256
|
+
|
|
257
|
+
const nextLines = [
|
|
258
|
+
` ${bold(yellow("NEXT STEP"))}`,
|
|
259
|
+
` Ask your AI to read:`,
|
|
260
|
+
``,
|
|
261
|
+
` ${bold(cyan("ai-project-integration-plan/.ai-project-integration-instructions"))}`,
|
|
262
|
+
];
|
|
263
|
+
|
|
264
|
+
const nextWidth = Math.max(...nextLines.map(l => strip(l).length)) + 2;
|
|
265
|
+
const nextBorder = yellow("─".repeat(nextWidth));
|
|
266
|
+
|
|
267
|
+
console.log(`\n${yellow("┌")}${nextBorder}${yellow("┐")}`);
|
|
268
|
+
for (const line of nextLines) {
|
|
269
|
+
console.log(`${yellow("│")} ${line.padEnd(line.length + nextWidth - strip(line).length - 1)}${yellow("│")}`);
|
|
270
|
+
}
|
|
271
|
+
console.log(`${yellow("└")}${nextBorder}${yellow("┘")}\n`);
|
|
255
272
|
}
|
|
256
273
|
|
|
257
274
|
main();
|