Extract configuration importing from cli module