You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split cora-cli into library (reusable review engine) + binary (CLI interface). This is needed so the GitHub App backend can import cora as a library instead of shelling out to the binary.
Checklist
Create src/lib.rs with public exports
Move CLI entry point to src/bin/cora.rs
Export from lib: review::run(), scanner::scan_files(), types::*, config::*
Ensure all existing cargo test tests still pass
Ensure cargo build --release still produces same binary
Split cora-cli into library (reusable review engine) + binary (CLI interface). This is needed so the GitHub App backend can import cora as a library instead of shelling out to the binary.
Checklist
src/lib.rswith public exportssrc/bin/cora.rsreview::run(),scanner::scan_files(),types::*,config::*cargo testtests still passcargo build --releasestill produces same binarycargo installstill worksPart Of: #118, #120