# tuist migration list-targets

It lists the targets of a project sorted by number of dependencies.

## Arguments

### xcodeproj-path

**Environment variable** `TUIST_MIGRATION_LIST_TARGETS_XCODEPROJ_PATH`

The path to the Xcode project

```bash
tuist migration list-targets -p [xcodeproj-path]
tuist migration list-targets --xcodeproj-path [xcodeproj-path]
```
