2024-07-05 09:15:07 +00:00
|
|
|
from ...models import Command
|
|
|
|
from .descriptors import mapping
|
2024-07-04 20:12:36 +00:00
|
|
|
|
|
|
|
commands: dict[str, Command] = {}
|
|
|
|
|
2024-07-05 09:15:07 +00:00
|
|
|
for descriptor in mapping:
|
|
|
|
commands.update({ descriptor.cmd: descriptor })
|