140: Added a skeleton help command in cli.py

This commit is contained in:
Jason Gerard DeRose
2008-08-13 04:02:39 +00:00
parent b9fa9dc240
commit 14cdb57b50

View File

@@ -44,6 +44,10 @@ def from_cli(cli_name):
return cli_name.replace('-', '_')
class help(public.cmd):
'display help on command'
class CLI(object):
__d = None
__mcl = None
@@ -73,6 +77,7 @@ class CLI(object):
def finalize(self):
api = self.api
api.register(help)
api.finalize()
def d_iter():
for cmd in api.cmd: