summaryrefslogtreecommitdiff
path: root/example.py
diff options
context:
space:
mode:
Diffstat (limited to 'example.py')
-rw-r--r--example.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/example.py b/example.py
index 0eec225..3b3690b 100644
--- a/example.py
+++ b/example.py
@@ -67,6 +67,11 @@ class Example:
def x(self):
pass
+ @command("set color to %c")
+ def set_color(self, c):
+ print(c)
+
+
descriptor = Descriptor(
name = "Fancy Spaceship",
port = 1234,