Coverage for slidge/command/__init__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-11-07 05:11 +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""" 

6 

7from . import admin, register, user # noqa: F401 

8from .base import ( 

9 Command, 

10 CommandAccess, 

11 CommandResponseType, 

12 Confirmation, 

13 Form, 

14 FormField, 

15 SearchResult, 

16 TableResult, 

17) 

18 

19__all__ = ( 

20 "Command", 

21 "CommandAccess", 

22 "CommandResponseType", 

23 "Confirmation", 

24 "Form", 

25 "FormField", 

26 "SearchResult", 

27 "TableResult", 

28)