I think a more generalized model for including this may need to have a generic way of adding component-specific commandline flags and environment variables (preferably coupling these two things together where command-line arguments always override environment variables).