Commit 709d97bb authored by Seblu's avatar Seblu
Browse files

command whoami

parent 5fbc32d4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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'''