From 29500cb89afb2bb7b4b365c683c7d09fe05fc4dd Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sat, 3 Jan 2015 10:07:25 -0800 Subject: gkeys/actions.py: Move list-cats to General_Actions --- gkeys/gkeys/actions.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'gkeys') 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': [], -- cgit v1.2.3-65-gdbad