Rename element command to draw.

And add node drawing.
This commit is contained in:
Sergey Vartanov 2022-08-17 08:07:51 +03:00
parent 6dd9bc27e8
commit 692997f54a
7 changed files with 33 additions and 29 deletions

View file

@ -58,8 +58,8 @@ def main() -> None:
mapcss.generate_mapcss(arguments)
elif arguments.command == "element":
from map_machine.element.node import draw_element
elif arguments.command == "draw":
from map_machine.element.element import draw_element
draw_element(arguments)