Coverage for slidge/command/categories.py: 100%
8 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-11-07 05:11 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-11-07 05:11 +0000
1from typing import NamedTuple
3from .base import NODE_PREFIX
6class CommandCategory(NamedTuple):
7 name: str
8 node: str
11ADMINISTRATION = CommandCategory("🛷️ Slidge administration", NODE_PREFIX + "admin")
12CONTACTS = CommandCategory("👤 Contacts", NODE_PREFIX + "contacts")
13GROUPS = CommandCategory("👥 Groups", NODE_PREFIX + "groups")