From 9fb1d9c53434e57d76e4eac5d16821c5fcb69286 Mon Sep 17 00:00:00 2001 From: Martin Helmich Date: Thu, 12 Sep 2024 08:17:30 +0200 Subject: [PATCH] Print vhost hostname as URL, for better terminal usability --- src/commands/domain/virtualhost/list.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/domain/virtualhost/list.ts b/src/commands/domain/virtualhost/list.ts index c07b9f21..75df9337 100644 --- a/src/commands/domain/virtualhost/list.ts +++ b/src/commands/domain/virtualhost/list.ts @@ -44,7 +44,9 @@ export class List extends ListBaseCommand { const columns: ListColumns = { id: baseColumns.id, projectId: { header: "Project ID" }, - hostname: {}, + hostname: { + get: (r) => `https://${r.hostname}`, + }, paths: { get: (r) => r.paths