Update Files

This commit is contained in:
erik 2022-09-06 13:49:23 +02:00
parent 8e83cf11d0
commit 4f78ddbc00
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ class CliArgumentsParser(name: String) : CliTargetParser(name) {
module.configFileName, module.configFileName,
module.applicationFileName, module.applicationFileName,
module.submodules, module.submodules,
module.reprovision module.reprovision,
) )
else -> return ServerCliCommand( else -> return ServerCliCommand(
ServerType.valueOf(module.name.uppercase()), ServerType.valueOf(module.name.uppercase()),
@ -79,7 +79,7 @@ class CliArgumentsParser(name: String) : CliTargetParser(name) {
ArgType.Boolean, ArgType.Boolean,
"reprovision", "reprovision",
"r", "r",
"redo provisioning, deletes old config first" "redo provisioning, deletes old config first",
) )
override fun execute() { override fun execute() {
super.configFileName = cliConfigFileName?.let { ConfigFileName(it) } super.configFileName = cliConfigFileName?.let { ConfigFileName(it) }

View file

@ -11,7 +11,7 @@ class K3sCliCommand(
configFileName: ConfigFileName?, configFileName: ConfigFileName?,
val applicationFileName: ApplicationFileName?, val applicationFileName: ApplicationFileName?,
val submodules: List<String>? = null, val submodules: List<String>? = null,
val reprovision: Reprovision = false val reprovision: Reprovision = false,
) : ) :
ServerCliCommand( ServerCliCommand(
serverType, target, configFileName serverType, target, configFileName