blob: 6d681a472abcba218ca4278ff81d07c9081c7196 (
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
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
################################################################################
# LAYMAN - A UTILITY CREATE OVERLAY DEFINITIONS
################################################################################
# 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.config import OptionConfig
from layman.maker import Interactive
import sys
#===============================================================================
#
# MAIN
#
#-------------------------------------------------------------------------------
config = OptionConfig()
main = Interactive(config=config)
try:
main()
except KeyboardInterrupt:
print('\nProgram terminated successfully.\nGoodbye...')
sys.exit()
|