mirror of
https://github.com/coder/coder.git
synced 2026-11-08 05:32:55 +08:00
This cleans up `root.go` a bit, adds tests for middleware HTTP transport functions, and removes two HTTP requests we always always performed previously when executing *any* client command. It should improve CLI performance (especially for users with higher latency).
13 lines
200 B
Go
13 lines
200 B
Go
package main
|
|
|
|
import (
|
|
_ "time/tzdata"
|
|
|
|
entcli "github.com/coder/coder/v2/enterprise/cli"
|
|
)
|
|
|
|
func main() {
|
|
var rootCmd entcli.RootCmd
|
|
rootCmd.RunWithSubcommands(rootCmd.EnterpriseSubcommands())
|
|
}
|