mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
Make CliktCommands classes (#963)
Missed these three classes. This prevents the AOT compiler from statically initializing CLI argument default values (like working dir).
This commit is contained in:
@@ -28,10 +28,10 @@ import org.pkl.core.Release
|
||||
|
||||
/** Main method for the Java code generator CLI. */
|
||||
internal fun main(args: Array<String>) {
|
||||
cliMain { PklJavaCodegenCommand.main(args) }
|
||||
cliMain { PklJavaCodegenCommand().main(args) }
|
||||
}
|
||||
|
||||
object PklJavaCodegenCommand :
|
||||
class PklJavaCodegenCommand :
|
||||
ModulesCommand(
|
||||
name = "pkl-codegen-java",
|
||||
helpLink = Release.current().documentation().homepage(),
|
||||
|
||||
Reference in New Issue
Block a user