summaryrefslogtreecommitdiff
path: root/lib/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/commands.py')
-rw-r--r--lib/commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/commands.py b/lib/commands.py
index a9b97b35..3a4ca230 100644
--- a/lib/commands.py
+++ b/lib/commands.py
@@ -173,6 +173,7 @@ def global_commands(svg, command):
if standalone_command.command == command:
yield standalone_command
+
@cache
def global_command(svg, command):
"""Find a single command of the specified type.