The CLI uses the same analysis engine as the editor.
This means:
Behavior-driven analysis
Pattern and context evaluation
Confidence-based findings
Severity assignment
The difference lies only in how results are presented, not in how analysis is performed.