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:
Daniel Chao
2025-02-18 08:29:59 -08:00
committed by GitHub
parent 28b128f86f
commit ee23a8c3f4
3 changed files with 6 additions and 6 deletions

View File

@@ -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,