Skip to main content

ktrs_cli/
lib.rs

1//! Command-line front ends.
2//!
3//! - `ktfmt` — a drop-in for ktfmt's CLI: same flags, messages, exit codes and stdin/stdout.
4//! - `ktlint` — a drop-in for ktlint's CLI (2.0.0-ALPHA-4, or 1.8.0 with `--ktlint-version=1.8`): same flags,
5//!   reporters, messages and exit codes.
6//! - `ktrs`  — the native command (`ktrs fmt`, `ktrs lint`), a thin layer over the same engines, and
7//!   `ktrs serve` for build tools (ktfmt and ktlint requests).
8
9pub mod java_launcher;
10pub mod ktfmt;
11pub mod ktlint;
12pub mod ktrs;
13pub mod ktrs_lint;
14pub mod serve;
15mod serve_ktlint;