Add --config-to-xml command.