> ## 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.

# ls

> Diversion の ls コマンドでリポジトリのファイル、ブランチ、ワークスペースを一覧表示し、プロジェクトを素早く俯瞰する。

```bash theme={null}
dv ls <ref_id> <output>
```

このコマンドは、ワークスペース、ブランチ、またはコミットのファイルシステムの内容を一覧表示します。

`<ref_id>` は一覧表示するリビジョンの ID です。デフォルトでは、現在のワークスペースのリビジョンが一覧表示されます。

`<output>` は結果を出力するオプションのファイルで、デフォルトでは標準出力に出力されます。
