summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r--ipalib/frontend.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index cfbb3d16f..98dcbe3d3 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -427,6 +427,10 @@ class Command(HasParam):
callback_types = ('interactive_prompt',)
+ @property
+ def topic(self):
+ return type(self).__module__.rpartition('.')[2]
+
def __call__(self, *args, **options):
"""
Perform validation and then execute the command.