The opentp command-line interface provides tools for validating, fixing, and exporting your tracking plan.
These options are available for all commands:
| Option | Description |
|---|
--root <path> | Project root directory (default: current directory) |
--verbose | Enable verbose output |
--help | Show help |
--version | Show version |
| Command | Description |
|---|
validate | Validate all events |
fix | Auto-fix event keys based on taxonomy |
generate | Export tracking plan to various formats |
# Validate with custom root
opentp validate --root ./my-project
| Code | Description |
|---|
0 | Success |
1 | Validation errors found |
2 | Configuration error |