apply Command.exportAs to the command line container
the field with the type of OptVal
the new flags
See Implementation
apply Command.exportAs to the command line container