feat(cli): implement exp task status command (#19533)

Closes https://github.com/coder/internal/issues/900

- Implements `coder exp task status`
- Adds `testutil.MustURL` helper
This commit is contained in:
Cian Johnston
2025-08-26 16:01:35 +01:00
committed by GitHub
parent c19f430f35
commit 5baaf2747d
4 changed files with 456 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package testutil
import (
"net/url"
"testing"
)
func MustURL(t testing.TB, raw string) *url.URL {
u, err := url.Parse(raw)
if err != nil {
t.Fatal(err)
}
return u
}