You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
488 B
Kotlin
19 lines
488 B
Kotlin
package org.domaindrivenarchitecture.provs.server.application
|
|
|
|
import kotlinx.cli.ArgType
|
|
import kotlinx.cli.default
|
|
import org.domaindrivenarchitecture.provs.framework.core.cli.CliTargetParser
|
|
|
|
class CliK3sArgumentsParser(name: String) : CliTargetParser(name) {
|
|
|
|
enum class K3sType {
|
|
K3S, K3D
|
|
}
|
|
|
|
val type by option(
|
|
ArgType.String,
|
|
"type",
|
|
"t",
|
|
"either k3s (for standalone) or k3d for k3s running in a container"
|
|
).default("k3s")
|
|
} |