ToolsCommandsCommands for looking into and changing code
jadpo impact
On this page
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.
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
# See what changing a shared library function reachesjadpo impact rounding.half_even
Errors
cli.impact_arguments: Ajadpo impactcommand names no declaration, one the project doesn't have, or a name two domains sharetoolchain.project_not_found: You ran a command that works on a project in a folder with noapp.jadpo, in it or in any folder above it
Markdown for agents: /docs/jadpo-impact.md.Built from Jadpo's main branch at commit 9080dc3.