summaryrefslogtreecommitdiff
path: root/poezio/core/commands.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-12-12 23:54:17 +0100
committermathieui <mathieui@mathieui.net>2021-01-28 19:03:54 +0100
commitf808f0cff98ae5ff7f093c1b87b630184138464b (patch)
tree66254df10114edf534eee05d21113e57e0dd0218 /poezio/core/commands.py
parent08f48b0c8be7535754ba9494d13276f69485bd44 (diff)
downloadpoezio-f808f0cff98ae5ff7f093c1b87b630184138464b.tar.gz
poezio-f808f0cff98ae5ff7f093c1b87b630184138464b.tar.bz2
poezio-f808f0cff98ae5ff7f093c1b87b630184138464b.tar.xz
poezio-f808f0cff98ae5ff7f093c1b87b630184138464b.zip
core: move initial commands in a separate files
(improve core.py SNR)
Diffstat (limited to 'poezio/core/commands.py')
-rw-r--r--poezio/core/commands.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py
index 351d816d..03ca0a61 100644
--- a/poezio/core/commands.py
+++ b/poezio/core/commands.py
@@ -37,6 +37,14 @@ class CommandCore:
def __init__(self, core):
self.core = core
+ @command_args_parser.ignored
+ def rotate_rooms_left(self, args=None):
+ self.core.rotate_rooms_left()
+
+ @command_args_parser.ignored
+ def rotate_rooms_right(self, args=None):
+ self.core.rotate_rooms_right()
+
@command_args_parser.quoted(0, 1)
def help(self, args):
"""