mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-16 01:31:52 +02:00
Add command list.
This commit is contained in:
parent
9fc5c2069a
commit
4f1be1c60a
3 changed files with 26 additions and 15 deletions
|
@ -11,7 +11,7 @@ from moire.moire import Tag
|
|||
|
||||
from map_machine import ui
|
||||
from map_machine.icon import ShapeExtractor
|
||||
from map_machine.ui import COMMANDS
|
||||
from map_machine.ui import COMMAND_LINES
|
||||
from map_machine.workspace import workspace
|
||||
|
||||
__author__ = "Sergey Vartanov"
|
||||
|
@ -143,7 +143,7 @@ class MapMachineMoire(Default, ABC):
|
|||
|
||||
def command(self, args: Arguments) -> str:
|
||||
"""Bash command from integration tests."""
|
||||
return "map-machine " + " ".join(COMMANDS[self.clear(args[0])])
|
||||
return "map-machine " + " ".join(COMMAND_LINES[self.clear(args[0])])
|
||||
|
||||
def icon(self, args: Arguments) -> str:
|
||||
"""Image with Röntgen icon."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue