Package flagenv provides the ability to populate flags from environment variables.