                 Self.exit(withError: error)
             }
         }
-        
+
         return try handler(collections)
     }
 }


        mutating func run() throws {
            let collections = try with { collections in
                return try tsc_await { collections.listCollections(identifiers: nil, callback: $0) }
            }

            if jsonOptions.json {
                try JSONEncoder.makeWithDefaults().print(collections)
            } else {
                collections.forEach {


        mutating func run() throws {
            let collections = try with { collections in
                try tsc_await { collections.refreshCollections(callback: $0) }
            }
            print("Refreshed \(collections.count) configured package collections.")
        }
