ToolsCommandsCommands for looking into and changing code
jadpo inspect
On this page
Print the project map, or one node.
Print the project map (areas 14 and 18): each domain's declarations, where each is written, and what each calls, runs and raises, then a count. Given a name, print that one node: where it is, its description, its signature, a type's final fields with where each came from, and its edges both ways. --json prints the manifest, or the one node and its fields as the manifest has them. A name is a declaration's as code writes it, its domain first when two domains share it. The project must check without errors first.
jadpo inspect [name]Arguments
name(optional): 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 inspect --json writes one JSON document to standard output instead of text, with the same exit code. The document has schemaVersion, command ("inspect"), 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
# Print the project mapjadpo inspect# Print one node as datajadpo inspect greet --json
Errors
cli.inspect_arguments: Ajadpo inspectcommand names a declaration 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-inspect.md.Built from Jadpo's main branch at commit 9080dc3.