pub fn main(args: &[String]) -> i32
The ktlint binary: args without the program name; returns the exit code.
ktlint
args