# `jadpo path`

Draw the way a request went.

Draws the way one request went through the app from its path alone (area 16, "Path IDs"): the route, each action and function it ran, each choice and the line it took, the ways each loop's turns took, the queries and writes on the way, and where each returned or stopped. A request's telemetry carries its build as `jadpo.build` and its path as `jadpo.path`, and its failure's and fault's events `path`; `dev` is the build `jadpo dev` runs. It reads the path against that build's manifest, as the manifest protocol gives a monitoring product, so it draws what the product would; a build this source doesn't make can't be drawn.

```text
jadpo path <build> <path>
```

## Arguments

- `build`: The build the request ran: `dev`, or a build id
- `path`: The path the request carries, as `jadpo.path`

## On every command

- `--json`: Print data for tools instead of text
- `--full`: Show everything a report shortens
- `--help`: Show every flag, with examples
- `--color <when>`: Choose when to use colour

`jadpo path --json` writes one JSON document to standard output instead of text, with the same exit code. The document has `schemaVersion`, `command` (`"path"`), `ok`, `data` (what the command produced, `null` when it failed) and `diagnostics` (each error with its `rule`, `reason`, `next` and `help`). A command that needs a terminal refuses `--json` and names the flags that do the same job.

## Examples

```text
# Draw a path `jadpo dev` recorded
jadpo path dev 37
# Draw a path a deployed build recorded
jadpo path b_9a1f03c6d2e4 4177
```

## Errors

- [`cli.path_arguments`](/docs/errors/cli.path_arguments.md): A `jadpo path` command isn't given a build and a path, or the build isn't this source's, or the path isn't one of the build's
- [`toolchain.project_not_found`](/docs/errors/toolchain.project_not_found.md): You ran a command that works on a project in a folder with no `app.jadpo`, in it or in any folder above it
