Skip to content

Commit 460626e

Browse files
committed
feat: add public assets url to info output
1 parent 20ff39c commit 460626e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Command/Environment/GetEnvironmentInfoCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private function displayEnvironmentTable(ConsoleOutput $output, string $environm
6767
{
6868
$database = $this->getEnvironmentDatabase($environment);
6969
$environment = $this->apiClient->getEnvironment($this->projectConfiguration->getProjectId(), $environment);
70-
$headers = ['Name', 'Domain', strtoupper($environment['gateway']['type']).' Gateway', 'CDN'];
70+
$headers = ['Name', 'Domain', strtoupper($environment['gateway']['type']).' Gateway', 'CDN', 'Public assets'];
7171
$row = $environment->only(['name', 'vanity_domain_name'])->values()->all();
7272

7373
$row[] = $environment['gateway']['domain_name'] ?? '<fg=red>Unavailable</>';
@@ -80,6 +80,8 @@ private function displayEnvironmentTable(ConsoleOutput $output, string $environm
8080
$row[] = sprintf('<comment>%s</comment>', ucfirst($environment['content_delivery_network']['status']));
8181
}
8282

83+
$row[] = $environment['public_store_domain_name'];
84+
8385
if (is_string($database)) {
8486
$headers[] = 'Database';
8587
$row[] = $database;

0 commit comments

Comments
 (0)