org.octopusden.octopus.automation.teamcity.TeamcityReplaceVcsRootCommand.kt Maven / Gradle / Ivy
package org.octopusden.octopus.automation.teamcity
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.requireObject
import org.octopusden.octopus.infrastructure.teamcity.client.TeamcityClient
import org.slf4j.Logger
class TeamcityReplaceVcsRootCommand : CliktCommand(name = COMMAND) {
private val context by requireObject>()
override fun run() {
val log = context[TeamcityCommand.LOG] as Logger
val client = context[TeamcityCommand.CLIENT] as TeamcityClient
log.info("Replace VCS root")
TODO("Not yet implemented")
}
companion object {
const val COMMAND = "replace-vcs-root"
}
}