mirror of
https://github.com/apple/pkl.git
synced 2026-04-20 07:21:32 +02: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:
@@ -31,10 +31,10 @@ import org.pkl.core.Release
|
||||
|
||||
/** Main method for the Kotlin code generator CLI. */
|
||||
internal fun main(args: Array<String>) {
|
||||
cliMain { PklKotlinCodegenCommand.main(args) }
|
||||
cliMain { PklKotlinCodegenCommand().main(args) }
|
||||
}
|
||||
|
||||
object PklKotlinCodegenCommand :
|
||||
class PklKotlinCodegenCommand :
|
||||
ModulesCommand(
|
||||
name = "pkl-codegen-kotlin",
|
||||
helpLink = Release.current().documentation().homepage(),
|
||||
|
||||
Reference in New Issue
Block a user