From 0e3699da5a4cb79f7ab919612e46a7b362032dd7 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Wed, 11 Feb 2026 21:08:38 -0800 Subject: [PATCH] show version in config --- src/cli/commands/manage.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cli/commands/manage.ts b/src/cli/commands/manage.ts index 257a9c7..8ef072e 100644 --- a/src/cli/commands/manage.ts +++ b/src/cli/commands/manage.ts @@ -1,5 +1,6 @@ import type { App } from '@types' import { generateTemplates, type TemplateType } from '%templates' +import { readSyncState } from '%sync' import color from 'kleur' import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs' import { basename, join } from 'path' @@ -27,6 +28,9 @@ export async function configShow() { if (process.env.DEV) { console.log(` DEV=${process.env.DEV}`) } + + const syncState = readSyncState(process.cwd()) + console.log(`Version: ${syncState ? color.bold(syncState.version) : color.gray('(not deployed)')}`) } export async function infoApp(arg?: string) {