From 6afefcec5b504778f96f7f44c7ba424e0323d8b9 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sat, 14 Feb 2026 07:37:56 -0800 Subject: [PATCH] simplify toes config --- src/cli/commands/manage.ts | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/cli/commands/manage.ts b/src/cli/commands/manage.ts index 82427d7..51dd8e0 100644 --- a/src/cli/commands/manage.ts +++ b/src/cli/commands/manage.ts @@ -37,18 +37,10 @@ async function waitForState(name: string, target: string, timeout: number): Prom export async function configShow() { console.log(`Host: ${color.bold(HOST)}`) - const source = process.env.TOES_URL ? 'TOES_URL' : process.env.DEV ? 'DEV' : '(default)' - console.log(`Source: ${color.gray(source)}`) - - if (process.env.TOES_URL) { - console.log(` TOES_URL=${process.env.TOES_URL}`) - } - 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)')}`) + if (syncState) { + console.log(`Version: ${color.bold(syncState.version)}`) + } } export async function infoApp(arg?: string) {