diff --git a/cli/src/main/kotlin/OrtMain.kt b/cli/src/main/kotlin/OrtMain.kt index ea2afba9c0366..8afa8bd33a55a 100644 --- a/cli/src/main/kotlin/OrtMain.kt +++ b/cli/src/main/kotlin/OrtMain.kt @@ -64,17 +64,11 @@ import org.ossreviewtoolkit.utils.ort.printStackTrace import org.slf4j.LoggerFactory -/** - * The entry point for the application with [args] being the list of arguments. - */ -fun main(args: Array) { - Os.fixupUserHomeProperty() - OrtMain().main(args) - exitProcess(0) -} - private const val REQUIRED_OPTION_MARKER = "*" +// A priority value that is higher than any Clikt built-in value for allocating width. +private const val HIGHEST_PRIORITY_FOR_WIDTH = 100 + private val ORT_LOGO = """ ______________________________ / \_______ \__ ___/ @@ -83,8 +77,14 @@ private val ORT_LOGO = """ \________/ |____|___/ |____| """.trimIndent() -// A priority value that is higher than any Clikt built-in value for allocating width. -private const val HIGHEST_PRIORITY_FOR_WIDTH = 100 +/** + * The entry point for the application with [args] being the list of arguments. + */ +fun main(args: Array) { + Os.fixupUserHomeProperty() + OrtMain().main(args) + exitProcess(0) +} class OrtMain : CliktCommand( name = ORT_NAME,