Debian Codegraph @

scripts/display_all_command_hints.py

raw
1 from iredis.utils import command_syntax
2 from iredis.style import STYLE
3 from iredis.commands import commands_summary
4 from prompt_toolkit import print_formatted_text
5
6 for command, info in commands_summary.items():
7 print_formatted_text(command_syntax(command, info), style=STYLE)