ToolsCommandsThe jadpo command
jadpo check
On this page
Check the project for errors.
Check every Jadpo file in the project: where each file sits, how things are named, what each name refers to and who may use it, types, logic and failures. Then write the manifest and the catalogues to build/, errors or not. Without a path, the project is found by walking up to app.jadpo. A file or folder outside any project is checked on its own, with the layout rules off, and writes nothing.
jadpo check [path]Arguments
path(optional): A project, file or folder to check
Flags
--before <ref>: The branch or commit to compare with
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 check --json writes one JSON document to standard output instead of text, with the same exit code. The document has schemaVersion, command ("check"), 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
# Check the project you are injadpo check# Check one file on its ownjadpo check main.jadpo# Print the problems as data for toolsjadpo check --json# Compare with another branch to judge acceptancesjadpo check --before release
Errors
cli.check_arguments: Ajadpo checkcommand names a path that isn't there or isn't a.jadpofile, or a--beforegit doesn't knowacceptance.base_missing: Base commit the change is compared with isn't in this cloneacceptance.edited: Acceptance already on the before side was editedacceptance.missing: A change could break someone else or widen who can do what, and no acceptance this change adds says a person agreed to itacceptance.no_reason: An acceptance this change adds has no///line aboveacceptancesaying why a person accepted the changes it listsacceptance.unmatched: Acceptance lists a change this change doesn't makemigration.drop_not_accepted: A migration removes data, and no acceptance in the project says a person agreed to it
Markdown for agents: /docs/jadpo-check.md.Built from Jadpo main at aee2e8f.