com.google.devtools.ksp.cmdline.KSPCommonMain.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of symbol-processing-cmdline Show documentation
Show all versions of symbol-processing-cmdline Show documentation
Symbol processing for K/N and command line
package com.google.devtools.ksp.cmdline
import com.google.devtools.ksp.processing.kspCommonArgParser
import com.google.devtools.ksp.processing.kspCommonArgParserHelp
class KSPCommonMain {
companion object {
@JvmStatic
fun main(args: Array) {
if ("-h" in args || "--help" in args) {
printHelpMsg(kspCommonArgParserHelp())
} else {
runWithArgs(args, ::kspCommonArgParser)
}
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy