# devops project list

List all DevOps Center projects in a Salesforce org.

## Description for devops project list

This command queries the DevopsProject standard object and returns the project Id, Name, and Description for each project found.

## 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 devops project list

List all DevOps Center projects in an org with alias "my-devops-org":

```shell
sf devops project list --target-org my-devops-org
```

List projects using an org's username:

```shell
sf devops project list --target-org devops-center@example.com
```
