Skip to main content

Module command_line

Module command_line 

Source
Expand description

Port of ktlint-cli internal/KtlintCommandLine.kt (and Main.kt): the ktlint command.

Structs§

KtlintCli
The ktlint command, run in working_dir (the JVM’s user.dir).

Enums§

Exit
How a run ends early: exitKtLintProcess(code), a Clikt usage error, or an uncaught JVM exception.
ExitCode
ExitCode: values external integrations depend on.