diff options
author | 2015-01-03 10:10:01 -0800 | |
---|---|---|
committer | 2015-01-05 14:14:35 -0800 | |
commit | f1a04cad4ddbb944a1c8fba4084f12e64f2c4286 (patch) | |
tree | 017efde1914fdd79e8438b0619dfcc837d42aeb6 /gkeys/gkeys/__init__.py | |
parent | gkeys/actions.py: Fix mis-sorted Key_Actions (diff) | |
download | gentoo-keys-f1a04cad4ddbb944a1c8fba4084f12e64f2c4286.tar.gz gentoo-keys-f1a04cad4ddbb944a1c8fba4084f12e64f2c4286.tar.bz2 gentoo-keys-f1a04cad4ddbb944a1c8fba4084f12e64f2c4286.zip |
gkeys/__init__.py: Add Gkeys_Map for man page creation
Diffstat (limited to 'gkeys/gkeys/__init__.py')
-rw-r--r-- | gkeys/gkeys/__init__.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gkeys/gkeys/__init__.py b/gkeys/gkeys/__init__.py index 7e8b64e..d5a659e 100644 --- a/gkeys/gkeys/__init__.py +++ b/gkeys/gkeys/__init__.py @@ -1,5 +1,27 @@ #!/usr/bin/python # -*- coding: utf-8 -*- + + +from collections import OrderedDict + +from gkeys.actions import Action_Map, Available_Actions + + __version__ = 'Git' __license__ = 'GPLv2' + + +subdata = OrderedDict() +for cmd in Available_Actions: + subdata[cmd] = Action_Map[cmd]['desc'] + +Gkeys_Map = { + 'options': ['help', 'config', 'debug'], + 'desc': 'OpenPGP/GPG key management tool', + 'long_desc': '''Gentoo Keys (gkeys) is a Python based project that aims to manage +the GPG keys used for validation on users and Gentoo's infrastracutre servers. +Gentoo Keys is able to verify GPG keys used for Gentoo's release media, +such as installation CD's, Live DVD's, packages and other GPG signed documents.''', + 'sub-cmds': subdata, +} |