From 641403278e00c30f24d9a6b4938b1e4ab3ecb427 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Thu, 4 Sep 2008 18:35:04 +0000 Subject: 266: Started work on new cli.print_api Command --- ipalib/cli.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ipalib/cli.py') 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) -- cgit