Skip to content

Commit dac66a3

Browse files
committed
Make esw-services options optional again by providing None as default value
1 parent e428161 commit dac66a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

esw-services/src/main/scala/esw/services/cli/Command.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ object Command {
2020
@HelpMessage("Start agent service.")
2121
agentService: Boolean = false,
2222
@HelpMessage("Prefix for agent. If provided, this will be used instead of default.")
23-
agentPrefix: Option[Prefix],
23+
agentPrefix: Option[Prefix] = None,
2424
@HelpMessage("Path of hostConfig file.")
25-
hostConfigPath: Option[String],
25+
hostConfigPath: Option[String] = None,
2626
@ExtraName("g")
2727
@HelpMessage("Start gateway with default command role config.")
2828
gateway: Boolean = false,
2929
@HelpMessage("Command role mapping file path for gateway. If provided, this will be used instead of default.")
30-
commandRoleConfig: Option[Path],
30+
commandRoleConfig: Option[Path] = None,
3131
@ExtraName("s")
3232
@HelpMessage("Start Sequence Manager with default obsMode config.")
3333
sequenceManager: Boolean = false,
3434
@HelpMessage("ObsMode config file path for Sequence Manager. If provided, this will be used instead of default.")
35-
obsModeConfig: Option[Path],
35+
obsModeConfig: Option[Path] = None,
3636
@HelpMessage("Enable simulation mode for Sequence Manager")
3737
simulation: Boolean = false
3838
) extends Command

0 commit comments

Comments
 (0)