Validation
The validate command runs an AI-powered validation workflow against your codebase inside a Docker container.
Usage
verlign validate [options]Options
| Flag | Description | Default |
|---|---|---|
-p, --path <path> | Path to the codebase to validate | Current directory (.) |
Examples
Validate the current directory:
verlign validateValidate a specific project:
verlign validate --path /path/to/projectRequirements
- You must be logged in before running a validation
- Docker must be running on your machine
What happens
When you run verlign validate, the CLI:
- Pulls the Docker image —
ghcr.io/onerlaw/verlign-worker:latest - Creates a container with:
- Your codebase mounted at
/workspace - Your API key and API URL passed as environment variables
- Your codebase mounted at
- Streams output from the container to your terminal in real time
- Cleans up the container when the workflow completes
The container name follows the pattern verlign-{timestamp}.
Reading the output
The validation output is streamed directly to your terminal. You will see:
- Step progress as the AI agent analyzes your codebase
- Findings and suggestions identified during validation
- A summary at the end of the run
Stopping a validation
Press Ctrl+C to stop a running validation. The CLI handles SIGINT and SIGTERM gracefully and stops the Docker container.
Last updated on