Skip to content

Commit

Permalink
Merge pull request #784 from mittwald/feature/vhost-list-url
Browse files Browse the repository at this point in the history
Print vhost hostname as URL, for better terminal usability
  • Loading branch information
martin-helmich authored Sep 12, 2024
2 parents c81b6a5 + 9fb1d9c commit d3add3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/domain/virtualhost/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
const columns: ListColumns<ResponseItem> = {
id: baseColumns.id,
projectId: { header: "Project ID" },
hostname: {},
hostname: {
get: (r) => `https://${r.hostname}`,
},
paths: {
get: (r) =>
r.paths
Expand Down

0 comments on commit d3add3b

Please sign in to comment.