Move command processing to separate file

This commit is contained in:
2021-04-23 07:01:00 +00:00
parent ae2b0f4875
commit a5642409d2
4 changed files with 533 additions and 509 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
HELP_LINES = []
with open('mosfet/game.py', 'r') as f:
with open('mosfet/commands.py', 'r') as f:
for line in f.readlines():
if line.strip().startswith('## '):
HELP_LINES.append(line.strip()[3:])