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 authored and GitHub committed 2025-02-18 08:29:59 -08:00
1 parent 28b128f86f
commit ee23a8c3f4
3 files changed
+6 -6

No files matched your search

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