aboutsummaryrefslogtreecommitdiff
blob: bec0661d7f48d9d828642d0f06672d50fae19019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

'''
Makeconf plug-in module for layman.
'''

module_spec = {
    'name': 'makeconf',
    'description': __doc__,
    'provides':{
        'makeconf-module': {
            'name': 'makeconf',
            'class': 'ConfigHandler',
            'sourcefile': 'makeconf',
            'description': __doc__,
            'functions': ['add', 'delete', 'disable', 'enable', 'read',
                          'update', 'write'],
            'func_desc': {
                'add': 'Adds overlay dir string to config',
                'delete': 'Removes overlay dir string from config',
                'disable': 'Moves overlay dir string to DISBALED var',
                'enable': 'Moves overlay dir string to ENABLED var',
                'read': 'Reads the list of registered overlays from config',
                'update': 'Nothing, stub function',
                'write': 'Writes the list of registered overlay to config',
            },
        }
    }
}