#!/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()

