Check an application profile (.keryn/application.yml) and show the stages keryn ci would run for it.
keryn application validate [file] [--json]Options
Section titled “Options”Usage: keryn application validate [file] [--json] keryn application show [file] [--root <repository>] [--json] An application profile (default .keryn/application.yml, apiVersion keryn.dev/application/v1) declares one application: id, name, owner; sources (repository-relative directories, optional repository-relative include/exclude globs, optional deepTimeout in seconds for Deep, extra local repositories under repos:); artifacts (paths or globs to built files, kind binary|package, optional expected sha256, optional maxBytes per-artifact cap); web targets (url, mode passive, optional auth file); sca mode offline|online|off; output.failOn. validate checks it against the schema (exit 0 valid, 1 problems, 2 unreadable). show resolves the globs (code-point order, symlinks not followed) and prints every stage keryn ci --application-file would run, with the artifacts' sizes and sha256 and every input it would skip and why. The repository is --root, else the folder holding .keryn/, else the profile's folder. Active web mode requires ownershipProof; planning sends nothing and execution verifies current ownership.Examples
Section titled “Examples”# Check .keryn/application.yml.keryn application validateExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
| 0 | valid |
| 1 | problems |
| 2 | unreadable |