> ## Documentation Index
> Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# workspace

> ワークスペースを管理する

このコマンドで実行できるワークスペースの操作は、一覧表示、名前変更、削除、一時停止、再開です。

ワークスペースを一覧表示するには次を使用します：

```bash theme={null}
dv workspace
```

現在のワークスペースの名前を変更するには：

```bash theme={null}
dv workspace rename <new-name>
```

指定したワークスペースを削除するには：

```bash theme={null}
dv workspace delete <workspace_id> [-f]
```

現在のワークスペースは削除できません。`<workspace_id>` はワークスペース名ではなく、`dv.ws.xxxxx` で始まるIDです。

## pause

ワークスペースの同期を一時停止します：

```bash theme={null}
dv workspace pause
```

## resume

ワークスペースの同期を再開します：

```bash theme={null}
dv workspace resume
```

いずれの操作にも `-f` フラグを追加すると、確認プロンプトを省略できます。

Diversion のワークスペースに関する詳細は、[リポジトリ、ブランチ、ワークスペース](../concepts/repo-branch-workspace) のページを参照してください。
