aboutsummaryrefslogtreecommitdiff
path: root/gkeys
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2015-01-03 10:07:25 -0800
committerBrian Dolbec <dolsen@gentoo.org>2015-01-03 10:21:23 -0800
commit29500cb89afb2bb7b4b365c683c7d09fe05fc4dd (patch)
tree520e798d6848a9b0bb0587ffeb8dc4d2fb655454 /gkeys
parentcli.py: Remove redundant code (diff)
downloadgentoo-keys-29500cb89afb2bb7b4b365c683c7d09fe05fc4dd.tar.gz
gentoo-keys-29500cb89afb2bb7b4b365c683c7d09fe05fc4dd.tar.bz2
gentoo-keys-29500cb89afb2bb7b4b365c683c7d09fe05fc4dd.zip
gkeys/actions.py: Move list-cats to General_Actions
Diffstat (limited to 'gkeys')
-rw-r--r--gkeys/gkeys/actions.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py
index 4a1c831..c212609 100644
--- a/gkeys/gkeys/actions.py
+++ b/gkeys/gkeys/actions.py
@@ -31,14 +31,14 @@ from gkeys.gkey import GKEY
from gkeys.checks import SPECCHECK_SUMMARY, convert_pf, convert_yn
-Seed_Actions = ['----seeds----', 'add-seed', 'fetch-seed', 'list-cats',
+Seed_Actions = ['----seeds----', 'add-seed', 'fetch-seed',
'list-seed', 'list-seedfiles', 'move-seed', 'remove-seed']
Key_Actions = ['----keys-----', 'check-key', 'import-key', 'installed',
'install-key', 'search-key', 'list-key', 'move-key', 'refresh-key', 'remove-key',
'spec-check']
-General_Actions = ['---general---', 'sign','verify']
+General_Actions = ['---general---', 'list-cats', 'sign','verify']
Available_Actions = General_Actions + Key_Actions + Seed_Actions
@@ -50,6 +50,14 @@ Action_Map = OrderedDict({
'long_desc': '''''',
'example': '''''',
},
+ 'list-cats': {
+ 'func': 'listcats',
+ 'options': [],
+ 'desc': '''List seed file definitions (category names) found in the config''',
+ 'long_desc': '''List seed file definitions (category names) found in the config.
+ These category names are used throughout the seed and key action operations.''',
+ 'example': '''''',
+ },
'sign': {
'func': 'sign',
'options': ['nick', 'name', 'fingerprint', 'file', ],
@@ -69,14 +77,6 @@ Action_Map = OrderedDict({
the verification''',
'example': '''''',
},
- 'list-cats': {
- 'func': 'listcats',
- 'options': [],
- 'desc': '''List seed file definitions (category names) found in the config''',
- 'long_desc': '''List seed file definitions (category names) found in the config.
- These category names are used throughout the seed and key action operations.''',
- 'example': '''''',
- },
'----keys-----': {
'func': 'KEY_COMMANDS',
'options': [],