def _get_extension_list(self):
        url = "http://api.modoboa.org/"
        official_exts = ModoAPIClient(url).list_extensions()
        return [extension["name"] for extension in official_exts]
Ask the API to get the list of all extensions.
dataset/ETHPy150Open tonioo/modoboa/modoboa/core/commands/deploy.py/DeployCommand._get_extension_list