Files
werkator/src/main/kotlin/de/hoennig/gittally/commands/ConfigPrintCommand.kt
T

21 lines
560 B
Kotlin
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package de.hoennig.gittally.commands
import org.springframework.stereotype.Component
import picocli.CommandLine.Command
import picocli.CommandLine.Option
@Component
@Command(
name = "config:print",
description = ["Print the effective configuration"],
mixinStandardHelpOptions = true,
)
class ConfigPrintCommand : Runnable {
@Option(names = ["--full"], description = ["Include all defaults"])
var full: Boolean = false
override fun run() {
println("config:print${if (full) " --full" else ""} not yet implemented")
}
}