Skip to content

Task 2.5: Extract cora-cli into lib + bin (for GitHub App backend reuse) #131

Closed as not planned

Description

@ajianaz

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
  • Verify cargo install still works
  • Verify clippy and fmt still clean
  • Update Cargo.toml if needed (lib vs bin sections)

Part Of: #118, #120

Activity

  1. added this to the CodeCora V2 Migration milestone on Jun 2, 2026
  2. ajianaz commented on Jun 9, 2026

    @ajianaz
    CollaboratorAuthor

    Closing — GitHub App plan on hold.\n\nExtract cora-cli into lib + bin untuk GitHub App backend tidak jadi dulu. Fokus: CLI standalone + build in public. GitHub App bisa revisit kalau CLI ada traction.\n\nRef: Strategy doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions