Skip to content
Snippets Groups Projects
Commit 709d97bb authored by Seblu's avatar Seblu
Browse files

command whoami

parent 5fbc32d4
No related branches found
No related tags found
No related merge requests found
......@@ -383,6 +383,11 @@ class Command(object):
self.printer.history.load(self.cli.settings.get("history", ""))
cmd_expert.usage = "expert"
def cmd_whoami(self, argv):
'''Show connection login'''
self.printer.out(self.cli.settings["login"])
cmd_whoami.usage = "whoami"
class Alias(dict):
''' Alias wrapper'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment