Commits

guillermooo committed 3d450dd

add invocations for pull, incoming and outgoing

Comments (0)

Files changed (1)

shglib/commands.py

                     flags=0,
                     ),
     'incoming': cmd_data(
-                    invocations={},
-                    prompt='',
+                    invocations={'incoming...': 'incoming %(input)s',
+                                 'incoming': 'incoming',
+                        },
+                    prompt='Incoming source:',
                     enabled=True,
                     syntax_file='',
                     help='show new changesets found in source',
                     flags=0,
                     ),
     'outgoing': cmd_data(
-                    invocations={},
-                    prompt='',
+                    invocations={'outgoing...': 'outgoing %(input)s',
+                                 'outgoing': 'outgoing',
+                        },
+                    prompt='Outgoing target:',
                     enabled=True,
                     syntax_file='Packages/SublimeHg/Support/Mercurial Log.hidden-tmLanguage',
                     help='show changesets not found in the destination',
                     flags=0,
                     ),
     'pull': cmd_data(
-                    invocations={},
-                    prompt='',
+                    invocations={'pull...': 'pull %(input)s',
+                                 'pull': 'pull',
+                        },
+                    prompt='Pull source:',
                     enabled=True,
                     syntax_file='',
                     help='pull changes from the specified source',