From f1a04cad4ddbb944a1c8fba4084f12e64f2c4286 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sat, 3 Jan 2015 10:10:01 -0800 Subject: gkeys/__init__.py: Add Gkeys_Map for man page creation --- gkeys/gkeys/__init__.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gkeys') 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, +} -- cgit v1.2.3-65-gdbad