CLI Commands
review
Run review functions for modified files
Review Command
The review
command runs review functions defined in PackageFiles for code that has been edited.
Usage
Description
The review command analyzes files that have been modified and runs any applicable review functions defined in your PackageFiles. A file is considered modified if either:
- It has been edited but not committed
- The commit at HEAD is clean and the file is included in that commit
Review functions can include various checks such as:
- Code formatting
- Linting
- Custom validation rules
- Policy compliance checks
Examples
Output
The command will output the results of all review functions that were run, including:
- Pass/fail status
- Any errors or warnings
- Suggestions for improvements
Related Commands
build
: Build packages and return outputssync
: Synchronize your local state with the Ocuroot server