mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
269: Renamed print_api command to show_plugins
This commit is contained in:
parent
7d3d607b55
commit
03fd184e8e
@ -68,7 +68,7 @@ class console(public.Application):
|
|||||||
local=dict(api=self.api)
|
local=dict(api=self.api)
|
||||||
)
|
)
|
||||||
|
|
||||||
class print_api(public.Application):
|
class show_plugins(public.Application):
|
||||||
'Print details on the loaded plugins.'
|
'Print details on the loaded plugins.'
|
||||||
|
|
||||||
def __call__(self):
|
def __call__(self):
|
||||||
@ -161,7 +161,7 @@ class CLI(object):
|
|||||||
api = self.api
|
api = self.api
|
||||||
api.register(help)
|
api.register(help)
|
||||||
api.register(console)
|
api.register(console)
|
||||||
api.register(print_api)
|
api.register(show_plugins)
|
||||||
api.finalize()
|
api.finalize()
|
||||||
for a in api.Application():
|
for a in api.Application():
|
||||||
a.set_application(self)
|
a.set_application(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user