mirror of
https://github.com/apple/pkl.git
synced 2026-03-29 13:21:58 +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:
@@ -32,11 +32,11 @@ class AnalyzeCommand :
|
||||
epilog = "For more information, visit $helpLink",
|
||||
) {
|
||||
init {
|
||||
subcommands(AnalyzeImportsCommand)
|
||||
subcommands(AnalyzeImportsCommand())
|
||||
}
|
||||
}
|
||||
|
||||
object AnalyzeImportsCommand :
|
||||
class AnalyzeImportsCommand :
|
||||
ModulesCommand(
|
||||
name = "imports",
|
||||
helpLink = helpLink,
|
||||
|
||||
Reference in New Issue
Block a user