Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:dres-dev/DRES into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sauterl committed Oct 2, 2023
2 parents 69422b9 + db92ed2 commit 66a995b
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,12 @@ class MediaCollectionCommand(private val config: Config) :
).flag(default = false)

override fun run() {
println("Available media collections ${DbMediaCollection.all().size()}")

val collections = MediaCollectionManager.getCollections()

println("Available media collections ${collections.size}")
if (this.plain) {
MediaCollectionManager.getCollections().forEach(::println)
collections.forEach(::println)
} else {
println(
table {
Expand Down

0 comments on commit 66a995b

Please sign in to comment.