> ## Documentation Index
> Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands and Flags

> Manage templates from the command line

Manage [templates](/docs/templates). Subcommands let you list templates, get details of a specific template, pull template content to local files, push local changes back to a workspace, and commit a draft to live.

Variants are not managed separately — they are included in every `pull` and `push` operation as part of the template file.

## Syntax

```bash theme={"system"}
suprsend template [command]
```

## Commands

| Command                                             | Description                                                        |
| --------------------------------------------------- | ------------------------------------------------------------------ |
| [`template list`](/reference/cli-template-list)     | List templates for a workspace                                     |
| [`template get`](/reference/cli-template-get)       | Get template details including all variants                        |
| [`template pull`](/reference/cli-template-pull)     | Pull templates and their variants from SuprSend workspace to local |
| [`template push`](/reference/cli-template-push)     | Push templates and their variants from local to SuprSend workspace |
| [`template commit`](/reference/cli-template-commit) | Commit a template from draft to live                               |

***

## Inherited Global Flags

This command also supports [Global Flags](/reference/cli-global-flags), such as:

* `-s, --service-token` – Service token for authentication
* `-v, --verbosity` – Logging level
* `--config` – Config file path
* `-n, --no-color` – Disable color output
* `-w, --workspace string` – Workspace to use (default: `staging`)
