commit: f1a04cad4ddbb944a1c8fba4084f12e64f2c4286 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> AuthorDate: Sat Jan 3 18:10:01 2015 +0000 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> CommitDate: Mon Jan 5 22:14:35 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=f1a04cad
gkeys/__init__.py: Add Gkeys_Map for man page creation --- gkeys/gkeys/__init__.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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, +}