# community list template

Retrieve the list of templates available in your org.

## Description for community list template

See 'Which Experience Cloud Template Should I Use?' (<https://help.salesforce.com/s/articleView?id=sf.siteforce_commtemp_intro.htm&type=5>) in Salesforce Help for more information about the different template types available for Experience Cloud.

## Aliases for community list template

`force:community:template:list`

## Flags

| Flag Name (Long) | Flag Name (Short) | Description                                                                                                                                         |
| ---------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--api-version`  | N/A               | **Type:** Value<br><br>Override the api version used for api requests made by this command                                                          |
| `--flags-dir`    | N/A               | **Type:** Value<br><br>Import flag values from a directory.                                                                                         |
| `--json`         | N/A               | **Type:** Boolean<br><br>Format output as json.                                                                                                     |
| `--target-org`   | `-o`              | **Type:** Value<br>**Required**<br><br>Username or alias of the target org. Not required if the `target-org` configuration variable is already set. |

## Examples for community list template

Retrieve the template list from an org with alias my-scratch-org:

```shell
sf community list template --target-org my-scratch-org
```
