mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
1.3 KiB
1.3 KiB
Usage: coder templates edit [flags] <template>
Edit the metadata of a template by name.
Options
--allow-user-autostart bool (default: true)
Allow users to configure autostart for workspaces on this template.
This can only be disabled in enterprise.
--allow-user-autostop bool (default: true)
Allow users to customize the autostop TTL for workspaces on this
template. This can only be disabled in enterprise.
--allow-user-cancel-workspace-jobs bool (default: true)
Allow users to cancel in-progress workspace jobs.
--default-ttl duration
Edit the template default time before shutdown - workspaces created
from this template default to this value.
--description string
Edit the template description.
--display-name string
Edit the template display name.
--icon string
Edit the template icon path.
--max-ttl duration
Edit the template maximum time before shutdown - workspaces created
from this template must shutdown within the given duration after
starting. This is an enterprise-only feature.
--name string
Edit the template name.
-y, --yes bool
Bypass prompts.
---
Run `coder --help` for a list of global options.
Edit the metadata of a template by name.
Options
--allow-user-autostart bool (default: true)
Allow users to configure autostart for workspaces on this template.
This can only be disabled in enterprise.
--allow-user-autostop bool (default: true)
Allow users to customize the autostop TTL for workspaces on this
template. This can only be disabled in enterprise.
--allow-user-cancel-workspace-jobs bool (default: true)
Allow users to cancel in-progress workspace jobs.
--default-ttl duration
Edit the template default time before shutdown - workspaces created
from this template default to this value.
--description string
Edit the template description.
--display-name string
Edit the template display name.
--icon string
Edit the template icon path.
--max-ttl duration
Edit the template maximum time before shutdown - workspaces created
from this template must shutdown within the given duration after
starting. This is an enterprise-only feature.
--name string
Edit the template name.
-y, --yes bool
Bypass prompts.
---
Run `coder --help` for a list of global options.