---
url: /reference/cli/ces-list.md
---

# ces list

列出指定 CES 实体下的数据

## 使用

```
Usage: nexus ces list [options] [entityName]
```

## 参数

```
[entityName]  specify the entity name
```

## 选项

```
-v, --verbose                    enable verbose mode
-e, --environment <environment>  specify the environment (see your default environment by running nexus settings list)
-s, --siteUrl <siteUrl>          specify the site URL (see your default site by running nexus settings list)
-k, --keyword <keyword>          specify the keyword to filter by
-l, --limit <limit>              specify the number of entities to show (default: 25)
--order <order>                  specify the sort order (asc or desc, default: desc)
--non-interactive                run the command without input prompts
-h, --help                       display help for command
```

## 示例

交互式选择环境和站点并输入实体名称列出数据

```
nexus ces list
```

指定实体名称、环境和站点列出数据

```
nexus ces list employees -e development -s example.pingcode.com
```

按关键字过滤并限制返回数量

```
nexus ces list employees -e development -s example.pingcode.com -k order-1 -l 10
```

指定排列顺序

```
nexus ces list employees -e development -s example.pingcode.com --order asc
```
