Skip to content
Kavachकवच

The kavach Command: check

● Intermediate1 min

kavach check finds every error without running anything: quick, and safe to run on any code.

terminal
kavach check
src/main.kav: no errors

A file with mistakes lists each one with its line, as on every page of this course. --format json gives one compact line per message, for editors, scripts and AI tools. Every message says what to change; see Reading Errors.

A file with syntax errors gets only those. A string left open turns the lines after it into text, so later checks would only mislead whoever fixes the first error. tested