From 5664ea556bee7919e9453568f82981d86405dfa6 Mon Sep 17 00:00:00 2001 From: "Ricardo Q. Bazan" Date: Mon, 11 May 2026 18:18:28 -0500 Subject: [PATCH 1/2] feat(vland): show banner at start of init command Co-Authored-By: Claude Opus 4.7 (1M context) --- .changeset/init-banner.md | 5 +++++ packages/vland/src/program/commands/init.ts | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/init-banner.md diff --git a/.changeset/init-banner.md b/.changeset/init-banner.md new file mode 100644 index 0000000..555c537 --- /dev/null +++ b/.changeset/init-banner.md @@ -0,0 +1,5 @@ +--- +"@vlandoss/vland": patch +--- + +Show the vland banner at the start of the `init` command diff --git a/packages/vland/src/program/commands/init.ts b/packages/vland/src/program/commands/init.ts index f272be7..8f6683c 100644 --- a/packages/vland/src/program/commands/init.ts +++ b/packages/vland/src/program/commands/init.ts @@ -2,7 +2,7 @@ import { Argument, createCommand, Option } from "commander"; import { runInit } from "#src/actions/init.ts"; import { TEMPLATES, type TemplateName } from "#src/actions/template.ts"; import type { Context } from "#src/services/ctx.ts"; -import { TOOL_LABELS } from "../ui.ts"; +import { getBannerText, TOOL_LABELS } from "../ui.ts"; type InitOptions = { dir?: string; @@ -25,6 +25,7 @@ export function createInitCommand(ctx: Context) { .addOption(new Option("--no-git", "skip git init")) .addOption(new Option("-f, --force", "overwrite existing directory").default(false)) .action(async (name: string | undefined, options: InitOptions) => { + console.log(getBannerText(ctx.binPkg.version)); await runInit(ctx, { name, ...options, From a758094ea327c0bc1f80c8586e996b7c41f86a57 Mon Sep 17 00:00:00 2001 From: "Ricardo Q. Bazan" Date: Mon, 11 May 2026 18:30:46 -0500 Subject: [PATCH 2/2] chore: trigger CI re-run Co-Authored-By: Claude Opus 4.7 (1M context)