aboutsummaryrefslogtreecommitdiff
blob: c3859607403bd9c56efac5238bb823db62dd6c22 (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
# 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',
            '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',
            },
        }
    }
}