jp (shell): added "whoami" command to print currently used profile
This commit is contained in:
parent
cee44aadbf
commit
04b274a87b
1 changed files with 4 additions and 0 deletions
|
|
@ -242,6 +242,10 @@ class Shell(base.CommandBase, cmd.Cmd):
|
|||
if self.verbose:
|
||||
self.disp(_(u'argument {name} removed').format(name=arg))
|
||||
|
||||
def do_whoami(self, args):
|
||||
u"""print profile currently used"""
|
||||
self.disp(self.profile)
|
||||
|
||||
def do_quit(self, args):
|
||||
u"""quit the shell"""
|
||||
self.disp(_(u'good bye!'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue