BITPlan / diagrams

Online diagrams-Service supporting graphviz, mscgen and plantuml markup
http://diagrams2.bitplan.com
Apache License 2.0
2 stars 4 forks source link

add command line arguments #3

Closed WolfgangFahl closed 4 years ago

WolfgangFahl commented 4 years ago

the webservice debug, port and host should be specifiable via the command line

python3 dgs/webserver.py -h
usage: webserver.py [-h] [--debug] [--port PORT] [--host HOST]

Diagrams rendering webservice

optional arguments:
  -h, --help   show this help message and exit
  --debug      run in debug mode
  --port PORT  the port to use
  --host HOST  the host to serve for