feat(cli): add gradient ASCII banner to init command (#156)

Displays a white → #74E1B9 → #6ADCFF gradient HYPERFRAMES banner
using ANSI Shadow figlet font when running hyperframes init.
Gracefully skips in non-TTY or no-color environments.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vance Ingalls
2026-03-31 10:04:48 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 9cbfec1eca
commit 256c7a74fe
2 changed files with 71 additions and 0 deletions
+2
View File
@@ -13,6 +13,7 @@ import { fileURLToPath } from "node:url";
import { execFileSync, spawn } from "node:child_process";
import * as clack from "@clack/prompts";
import { c } from "../ui/colors.js";
import { printBanner } from "../ui/banner.js";
import { TEMPLATES, type TemplateId } from "../templates/generators.js";
import { trackInitTemplate } from "../telemetry/events.js";
import { hasFFmpeg } from "../whisper/manager.js";
@@ -635,6 +636,7 @@ Examples:
// -----------------------------------------------------------------------
// Interactive mode
// -----------------------------------------------------------------------
printBanner();
clack.intro("Create a new HyperFrames project");
// 1. Project name