1
0
Fork 0
iredis/scripts/display_all_command_hints.py
Daniel Baumann 031879240c
Adding upstream version 1.9.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-09 16:57:44 +01:00

7 lines
281 B
Python

from iredis.utils import command_syntax
from iredis.style import STYLE
from iredis.commands import commands_summary
from prompt_toolkit import print_formatted_text
for command, info in commands_summary.items():
print_formatted_text(command_syntax(command, info), style=STYLE)