aboutsummaryrefslogtreecommitdiff
blob: cd410785cebe7aa43b8015a6a407b5f5ebe232b7 (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
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env python
# -*- coding: utf-8 -*-

################################################################################
# LAYMAN - A UTILITY TO HANDLE MOUNTING OVERLAYS
################################################################################
# Distributed under the terms of the GNU General Public License v2
#
# Copyright:
#             (c) 2014 Devan Franchini
#             Distributed under the terms of the GNU General Public License v2
#
# Author(s):
#             Devan Franchini <twitch153@gentoo.org>
#

__version__ = "0.1"

#===============================================================================
#
# Dependencies
#
#-------------------------------------------------------------------------------

from layman.api     import LaymanAPI
from layman.config  import OptionConfig
from layman.mounter import Interactive

#===============================================================================
#
# MAIN
#
#-------------------------------------------------------------------------------

config = OptionConfig()
layman_api = LaymanAPI(config,
                       report_errors=True,
                       output=config['output'])

main = Interactive(config=config, mounter=config['mounts'])
main()