We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16f48d9 commit 419a992Copy full SHA for 419a992
pacmc-cli/src/commonMain/kotlin/net/axay/pacmc/cli/commands/ListCommand.kt
@@ -43,14 +43,16 @@ class ListCommand : CliktCommand(
43
return@launchJob
44
}
45
46
- terminal.println("The archive '$archiveName' contains the following content:")
+ val installedSlugs = archive.getInstalled()
47
+
48
+ terminal.println("The archive '$archiveName' contains the following content (${installedSlugs.size} mods):")
49
50
val installed = mutableListOf<Pair<String, String>>()
51
val installedDependencies = mutableListOf<Pair<String, String>>()
52
val installedMutex = Mutex()
53
54
coroutineScope {
- archive.getInstalled().forEach { project ->
55
+ installedSlugs.forEach { project ->
56
launch {
57
val projectLine = async {
58
buildString {
0 commit comments