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:
1 parent
28b128f86f
commit
ee23a8c3f4
3 files changed
+6
-6
No files matched your search
@@ -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