mirror of
https://github.com/revanced/revanced-cli.git
synced 2025-01-22 08:57:32 +01:00
feat: Exit application with CLI exit code
This commit is contained in:
parent
860fb7b957
commit
36c6a6a5f7
@ -10,7 +10,7 @@ import java.util.*
|
|||||||
|
|
||||||
fun main(args: Array<String>) {
|
fun main(args: Array<String>) {
|
||||||
Logger.setDefault()
|
Logger.setDefault()
|
||||||
CommandLine(MainCommand).execute(*args)
|
CommandLine(MainCommand).execute(*args).let(System::exit)
|
||||||
}
|
}
|
||||||
|
|
||||||
private object CLIVersionProvider : IVersionProvider {
|
private object CLIVersionProvider : IVersionProvider {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user