I have been using scopt with a single case class:
case class ArgsConfig(
arg1: type1 = value1,
arg2: type2 = value2,
...
)
I now have a large number of possible arguments which makes the class hard to read. The arguments can be grouped logically into smaller groups, for example, arguments dealing with using Spark, etc.
Is it possible to refactor the single Config
into smaller Configs
to allow handling of a single command line in an equivalent manner to using a single large Config
?