If you want to generate separate config files with only some of the options, you will need to use *only* the -l option and not have the generator scan the code, or at least have it ignore some of the files when doing the scanning. Heat does something similar, so you can look at their tools/config/oslo.config.generator.rc for an example.
If you want to generate separate config files with only some of the options, you will need to use *only* the -l option and not have the generator scan the code, or at least have it ignore some of the files when doing the scanning. Heat does something similar, so you can look at their tools/config/ oslo.config. generator. rc for an example.