Initial commit

This commit is contained in:
James Booth
2013-09-01 16:44:19 +01:00
commit 54417a9ed2
11 changed files with 405 additions and 0 deletions

9
whoami.py Normal file
View File

@@ -0,0 +1,9 @@
import prof
import getpass
def prof_init(version, status):
prof.register_command("/whoami", 0, 0, "/whoami", "Call shell whoami command.", "Call shell whoami command.", cmd_whoami)
def cmd_whoami():
me = getpass.getuser()
prof.cons_show(me)