11 lines
392 B
Python
11 lines
392 B
Python
"""Run the existing generator for the in-app dialog, without a native window."""
|
|
import sys
|
|
from .drawing_job import build_from_files
|
|
|
|
if __name__ == '__main__':
|
|
try:
|
|
build_from_files(sys.argv[1], sys.argv[2], lambda message: print(message, flush=True), output=sys.argv[3])
|
|
except Exception as error:
|
|
print(str(error), file=sys.stderr, flush=True)
|
|
sys.exit(1)
|