Implement a modules listing function

This commit is contained in:
Lucas Verney 2016-09-30 16:52:32 -04:00
parent 238cf61acc
commit fc0cd72667

View File

@ -56,6 +56,18 @@ class WeboobProxy(object):
""" """
Weboob().update(progress=DummyProgress()) Weboob().update(progress=DummyProgress())
@staticmethod
def list_modules(capability=None):
"""
List all available modules and their configuration options.
Args:
capability: Restrict the modules list to a given capability.
Returns: A dict mapping module names to supported capabilities and
available configuration options.
"""
pass
def __init__(self, modulename, parameters): def __init__(self, modulename, parameters):
""" """
Create a Weboob handle and try to load the modules. Create a Weboob handle and try to load the modules.