summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-09-04 18:35:04 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-09-04 18:35:04 +0000
commit641403278e00c30f24d9a6b4938b1e4ab3ecb427 (patch)
tree2738b64358a655c23b6898f5243a58aee74b934d /ipalib/cli.py
parent22d9b8c078844127b8ea8217a9a9ed8f172afb99 (diff)
downloadfreeipa-641403278e00c30f24d9a6b4938b1e4ab3ecb427.tar.gz
freeipa-641403278e00c30f24d9a6b4938b1e4ab3ecb427.tar.xz
freeipa-641403278e00c30f24d9a6b4938b1e4ab3ecb427.zip
266: Started work on new cli.print_api Command
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 5ead9837..05acad92 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -67,6 +67,9 @@ class console(public.Application):
local=dict(api=self.api)
)
+class print_api(public.Application):
+ 'Print details on the loaded plugins.'
+
class KWCollector(object):
def __init__(self):
@@ -127,6 +130,7 @@ class CLI(object):
api = self.api
api.register(help)
api.register(console)
+ api.register(print_api)
api.finalize()
for a in api.Application():
a.set_application(self)