mammoth template
Generated from mammoth-cli 2.4.2, released 2026-11-02:
mammoth schema list,mammoth capability listand the CLI's own--help. Do not edit by hand; runnpm run docs:capabilities.
Manage legacy workspace templates (the project catalog is 'workflow template'). 5 commands.
Every command also takes the global flags (--output, --yes, --confirm, --dry-run, --input, --profile, ...), which are not repeated below. --input takes a JSON or YAML document of the input fields; mammoth schema get COMMAND_ID prints a command's full input schema.
Confirmation. Commands marked --yes --confirm TARGET or --yes always need those flags, even at a terminal: they never prompt. Commands marked "--yes or prompt" ask at an interactive terminal (table output, no --no-input) and otherwise need --yes. --dry-run skips confirmation and sends nothing.
Summary
| Command | What it does | Effect | Confirmation |
|---|---|---|---|
template create | Create a template. Payload comes from the 'body' input field. | Benign mutation | — |
template delete | Delete a template by id. Prompt or '--yes' required. | Destructive | --yes or prompt |
template get | Get one template by id. | Read | — |
template list | List the legacy workspace templates (not the workflow template catalog). | Read | — |
template update | Update a template. Template id is positional; payload is the 'body' field. | Benign mutation | — |
template commands
mammoth template create
Create a template. Payload comes from the 'body' input field.
mammoth template create --input '{"body": {"name": "Revenue report"}}'
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
body | --input field | yes | — | dict[str, any] |
- Effect: Benign mutation, scope
project· Confirmation: none - Id:
template.create· Result:TemplateCreateResult· Backed by: SDKmammoth.api.templates.TemplatesAPI.create, APIPOST /workspaces/{workspace_id}/templates(CreateTemplate)
mammoth template delete
Delete a template by id. Prompt or '--yes' required.
mammoth template delete 123 --yes
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
TEMPLATE_ID | positional | yes | — | int | ID of the template. |
- Effect: Destructive, scope
project· Confirmation:--yes, or answer the prompt at an interactive terminal - Preconditions: Required inputs: TEMPLATE_ID.
- Id:
template.delete· Result:TemplateDeleteResult· Backed by: SDKmammoth.api.templates.TemplatesAPI.delete, APIDELETE /workspaces/{workspace_id}/templates/{template_id}(DeleteTemplate)
mammoth template get
Get one template by id.
mammoth template get 123
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
TEMPLATE_ID | positional | yes | — | int | ID of the template. |
- Effect: Read, scope
project· Confirmation: none - Preconditions: Required inputs: TEMPLATE_ID.
- Id:
template.get· Result:TemplateGetResult· Backed by: SDKmammoth.api.templates.TemplatesAPI.get, APIGET /workspaces/{workspace_id}/templates/{template_id}(GetTemplate)
mammoth template list
List the legacy workspace templates (not the workflow template catalog).
mammoth template list
- Effect: Read, scope
project· Confirmation: none · Pages:single_page - Id:
template.list· Result:TemplateListResult· Backed by: SDKmammoth.api.templates.TemplatesAPI.list, APIGET /workspaces/{workspace_id}/templates(ListTemplates)
mammoth template update
Update a template. Template id is positional; payload is the 'body' field.
mammoth template update 123 --input '{"body": {"name": "Revenue report"}}'
| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
TEMPLATE_ID | positional | yes | — | int | ID of the template. |
body | --input field | yes | — | dict[str, any] |
- Effect: Benign mutation, scope
project· Confirmation: none - Preconditions: Required inputs: TEMPLATE_ID.
- Id:
template.update· Result:TemplateUpdateResult· Backed by: SDKmammoth.api.templates.TemplatesAPI.update, APIPATCH /workspaces/{workspace_id}/templates/{template_id}(UpdateTemplate)