Coverage for slidge / command / __init__.py: 100%
3 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-06 05:07 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-06 05:07 +0000
1"""
2This module implements an unified API to define :term:`adhoc <Ad-hoc Command>`
3or :term:`chatbot <Chatbot Command>` commands. Just subclass a :class:`Command`,
4and make sures it is imported in your legacy module's ``__init__.py``.
5"""
7from . import admin, register, user # noqa: F401
8from .base import (
9 Command,
10 CommandAccess,
11 CommandResponseType,
12 Confirmation,
13 ContactCommand,
14 Form,
15 FormField,
16 MUCCommand,
17 SearchResult,
18 TableResult,
19)
21__all__ = (
22 "Command",
23 "CommandAccess",
24 "CommandResponseType",
25 "Confirmation",
26 "ContactCommand",
27 "Form",
28 "FormField",
29 "MUCCommand",
30 "SearchResult",
31 "TableResult",
32)