1. Steve Losh
  2. gorilla

Commits

Steve Losh  committed 28c18a2

cli: Reorder the interface declaration to be alphabetical.

  • Participants
  • Parent commits 5b0e071
  • Branches default

Comments (0)

Files changed (1)

File lib/gorilla/guts/cli.py

View file
 }
 
 _interface = {
+    'home': {
+        'aliases': [],
+        'handler': _handle_home,
+        'options': {},
+        'help': 'go to the home page',
+        'usage': '%s home [PACKAGE]',
+    },
+    'info': {
+        'aliases': [],
+        'handler': _handle_info,
+        'options': {},
+        'help': 'show information about a package',
+        'usage': '%s info [PACKAGE]',
+    },
     'init': {
         'aliases': ['bootstrap'],
         'handler': _handle_init,
         'help': 'initialize this gorilla installation',
         'usage': '%s init',
     },
-    'home': {
-        'aliases': [],
-        'handler': _handle_home,
-        'options': {},
-        'help': 'go to the home page',
-        'usage': '%s home [PACKAGE]',
-    },
     'list': {
         'aliases': ['ls'],
         'handler': _handle_list,
         'help': 'search for packages',
         'usage': '%s search STRING [STRING ...]',
     },
-    'info': {
-        'aliases': [],
-        'handler': _handle_info,
-        'options': {},
-        'help': 'show information about a package',
-        'usage': '%s info [PACKAGE]',
-    },
 }
 
 def main(ui, args):