aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/utils.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-08 19:08:20 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-08 19:11:42 +0800
commitfca4b4700a12b26c623f0dfd5f83e7342567bb10 (patch)
tree595f00910c22cc1a2ebf10286ff8118e9ff34fef /fg21sim/webui/utils.py
parenta515befec473b578d4f4f2de4e2a7d4bc8202e83 (diff)
downloadfg21sim-fca4b4700a12b26c623f0dfd5f83e7342567bb10.tar.bz2
bin/fg21sim-webui: Use "tornado.options" instead of "argparse"
* The "tornado.options" can be used in the *global scope*, therefore, the command line arguments can be stored in the options and then import the options in other modules if needed. * Add argument "--hosts-allowed", which specifies the hosts/network can access the Web UI (i.e., WebSocket) * Add argument "--no-browser", which controls whether to open the Web UI in a browser after startup. (TODO)
Diffstat (limited to 'fg21sim/webui/utils.py')
0 files changed, 0 insertions, 0 deletions