Skip to main content

run

Function run 

Source
pub fn run(args: CouplingArgs, format: OutputFormat) -> Result<()>
Expand description

Run the coupling command.

Two modes:

  • Pair mode: path_b is Some(...) – compare two files (original behavior)
  • Project-wide mode: path_b is None and path_a is a directory – scan all pairs

Language is auto-detected from file extensions.