# `jadpo impact`

List what a change to a name reaches.

List what a change to one declaration reaches (areas 1 and 14): the domains that call it, with how many calls each makes, or that use it; the routes, schedules and subscribers it reaches through them; the test files that reach it; and whether it is public. Run it before changing or removing anything shared or public. The project must check without errors first.

```text
jadpo impact <name>
```

## Arguments

- `name`: A declaration's name

## 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 impact --json` writes one JSON document to standard output instead of text, with the same exit code. The document has `schemaVersion`, `command` (`"impact"`), `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
# See what changing a shared library function reaches
jadpo impact rounding.half_even
```

## Errors

- [`cli.impact_arguments`](/docs/errors/cli.impact_arguments.md): A `jadpo impact` command names no declaration, one the project doesn't have, or a name two domains share
- [`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
