mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-04 03:41:50 +02:00
Reorganize the project.
This commit is contained in:
parent
c07e4b4de7
commit
dfbc2691d3
39 changed files with 86 additions and 78 deletions
|
@ -6,7 +6,7 @@ import logging
|
|||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from map_machine.ui import parse_arguments
|
||||
from map_machine.ui.cli import parse_arguments
|
||||
from map_machine.workspace import Workspace
|
||||
|
||||
__author__ = "Sergey Vartanov"
|
||||
|
@ -32,12 +32,12 @@ def main() -> None:
|
|||
mapper.ui(arguments)
|
||||
|
||||
elif arguments.command == "tile":
|
||||
from map_machine import tile
|
||||
from map_machine.slippy import tile
|
||||
|
||||
tile.ui(arguments)
|
||||
|
||||
elif arguments.command == "icons":
|
||||
from map_machine.grid import draw_icons
|
||||
from map_machine.pictogram.icon_collection import draw_icons
|
||||
|
||||
draw_icons()
|
||||
|
||||
|
@ -52,7 +52,7 @@ def main() -> None:
|
|||
draw_element(arguments)
|
||||
|
||||
elif arguments.command == "server":
|
||||
from map_machine import server
|
||||
from map_machine.slippy import server
|
||||
|
||||
server.ui(arguments)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue