package cli import ( "fmt" "net/http" "time" "golang.org/x/xerrors" "github.com/coder/coder/cli/clibase" "github.com/coder/coder/cli/cliui" "github.com/coder/coder/codersdk" ) func (r *RootCmd) templateEdit() *clibase.Cmd { var ( name string displayName string description string icon string defaultTTL time.Duration maxTTL time.Duration allowUserCancelWorkspaceJobs bool ) client := new(codersdk.Client) cmd := &clibase.Cmd{ Use: "edit