aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2014-06-18 16:39:52 -0400
committerDevan Franchini <twitch153@gentoo.org>2014-08-10 21:15:55 -0400
commit763eaef6d29bed6f9a7c78ade8de0c61f868ab94 (patch)
treee5bdb82f7b5661bde5b966cff8e306262df0f689 /bin
parentconfig.py: Adds output attribute for OptionConfig (diff)
downloadlayman-763eaef6d29bed6f9a7c78ade8de0c61f868ab94.tar.gz
layman-763eaef6d29bed6f9a7c78ade8de0c61f868ab94.tar.bz2
layman-763eaef6d29bed6f9a7c78ade8de0c61f868ab94.zip
Adds layman-overlay-maker tool
This tool has been made to assist users in creating their own layman overlay definitions. constants.py: Adds overlay component constants.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/layman-overlay-maker41
1 files changed, 41 insertions, 0 deletions
diff --git a/bin/layman-overlay-maker b/bin/layman-overlay-maker
new file mode 100755
index 0000000..6d681a4
--- /dev/null
+++ b/bin/layman-overlay-maker
@@ -0,0 +1,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()