diff --git a/src/main/kotlin/io/titandata/titan/providers/local/RemoteList.kt b/src/main/kotlin/io/titandata/titan/providers/local/RemoteList.kt index f81dacd2..878702c4 100644 --- a/src/main/kotlin/io/titandata/titan/providers/local/RemoteList.kt +++ b/src/main/kotlin/io/titandata/titan/providers/local/RemoteList.kt @@ -5,6 +5,7 @@ package io.titandata.titan.providers.local import io.titandata.client.apis.RemotesApi +import io.titandata.serialization.RemoteUtil class RemoteList ( private val remotesApi: RemotesApi = RemotesApi() @@ -13,9 +14,9 @@ class RemoteList ( fun list(container: String) { val remotes = remotesApi.listRemotes(container) - System.out.printf("%-20s %s${n}", "REMOTE", "PROVIDER") + System.out.printf("%-20s %-20s %s${n}", "REMOTE", "PROVIDER", "URI") for (remote in remotes) { - System.out.printf("%-20s %s${n}", remote.name, remote.provider) + System.out.printf("%-20s %-20s %s${n}", remote.name, remote.provider, RemoteUtil().toUri(remote).first) } } } \ No newline at end of file