---
url: https://docs.mochiexec.io/reference/cli/mochi_views_get.md
description: Print the views document with its revision, or one view by id or name
---

# mochi views get

Print the views document with its revision, or one view by id or name

```shell
mochi views get [VIEW] [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for get |
| `-o, --output` | `string` | Output format: text or json (default "text") |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync the executable cache first, pulling git-sourced workspaces from their remotes |

## See also

* [mochi views](mochi_views.md) — Manage saved views
