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

# ces get

获取单条 CES `entity` 数据

## 使用

```
Usage: nexus ces get [options] [entityName] [entityId]
```

## 参数

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

## 选项

```
-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)
--non-interactive                run the command without input prompts
-h, --help                       display help for command
```

## 示例

交互式选择环境和站点并输入 `entityName` 和 `entityId` 获取数据

```
nexus ces get
```

指定 `entityName` 、 `entityId` 、环境和站点获取数据

```
nexus ces get employees employee-1 -e development -s example.pingcode.com
```
