---
title: "judgment docs"
description: "Search and read Judgment documentation."
sidebar:
  label: "Docs"
seo:
  title: "judgment docs CLI Reference | Judgment Docs"
  description: "Command reference for `judgment docs`, used to search and read Judgment documentation in Judgment CLI workflows."
---

> **Warning**
>
> **The Judgment CLI is deprecated and no longer under active development.**
> This reference is retained for existing users. See the [CLI deprecation
> notice](/documentation/cli) for supported alternatives.


Search and read Judgment documentation.

## Commands

| Command | Description |
| ------- | ----------- |
| [`docs get-page`](#docs-get-page) | Read a documentation page. |
| [`docs search`](#docs-search) | Search docs. |

### `docs get-page`

Read a documentation page.

Fetch the rendered text of a documentation page by its path. Use `docs.search` first to find candidate paths.

```bash
judgment docs get-page [OPTIONS] <PATH>
```

**Arguments**

| Name | Required |
| ---- | -------- |
| `PATH` | yes |

**Options**

| Flag | Type | Required | Description |
| ---- | ---- | -------- | ----------- |
| <code style={{whiteSpace:"nowrap"}}>-o</code>, <code style={{whiteSpace:"nowrap"}}>--output</code> | `yaml`, `json` | no | Output format. |


### `docs search`

Search docs.

Hybrid (vector + lexical) search over the public Judgment documentation. Returns the top matching headings with full URLs.

```bash
judgment docs search [OPTIONS] <QUERY>
```

**Arguments**

| Name | Required |
| ---- | -------- |
| `QUERY` | yes |

**Options**

| Flag | Type | Required | Description |
| ---- | ---- | -------- | ----------- |
| <code style={{whiteSpace:"nowrap"}}>--match-count</code> | number | no | Maximum results to return (1–20). Defaults to 8 when omitted. |
| <code style={{whiteSpace:"nowrap"}}>-o</code>, <code style={{whiteSpace:"nowrap"}}>--output</code> | `table`, `yaml`, `json` | no | Output format. |
