* Get the Coder deployment URL via `coder whoami`. * Throws if Coder CLI is not configured/logged in.
(signal?: AbortSignal)
| 626 | * Throws if Coder CLI is not configured/logged in. |
| 627 | */ |
| 628 | private async getDeploymentUrl(signal?: AbortSignal): Promise<string> { |
| 629 | const { url } = await this.getWhoamiData({ useCache: true, signal }); |
| 630 | return url; |
| 631 | } |
| 632 | |
| 633 | /** |
| 634 | * Get the active template version ID for a template. |
no test coverage detected