switch
Turn an option into a set of flags that each map to a value.
Example:
option().switch(mapOf("--foo" to Foo(), "--bar" to Bar()))
Content copied to clipboard
Turn an option into a set of flags that each map to a value.
Example:
option().switch("--foo" to Foo(), "--bar" to Bar())
Content copied to clipboard