帮助:
第一种用法:
SpartWebAppRuntime 程序标题 程序访问网址 运行宽度 运行高度
第二种用法:
运行 "SpartWebAppRuntime -h" 查看命令行帮助信息
用法:./SparkWebAppRuntime [选项]
描述: 星火网页应用运行时
选项:
-h, --help 显示这个此帮助。
-v, --version 显示版本信息。
-p, --parser 启用参数解析方式. 默认顺序解析方式.
-t, --title 设置程序的运行标题. 默认是 星火网页应用运行时.
-u, --url 设置要打开的目标URL. 默认是空.
-w, --width 设置程序运行的宽度. 默认是 1024.
-H, --height 设置程序运行的高度. 默认是 768
-i, --ico 设置程序运行的图标.
-d, --desc 设置程序的描述信息.
-c, --cfg 设置程序运行的配置文件.
-r, --root 设置内置WebServer的根路径.
-P, --port 设置内置WebServer的监听端口号.
需要注意的是, 命令行会覆盖配置文件的配置信息.
How to Usage:
The first usage:
SpartWebAppRuntime ApplicationTitle TargetURL ApplicationWidth ApplicationHeight
The second usage:
Using "SpartWebAppRuntime -h" to get help
Usage: ./SparkWebAppRuntime [options]
Description: SparkWebAppRuntime
Options:
-h, --help Show this help Message.
-v, --version Show Version info.
-p, --parser Enable CommandLineParser. Default is false.
-t, --title The Title of Application. Default is
SparkWebAppRuntime.
-u, --url The target URL. Default is Blank.
-w, --width The Width of Application. Default is 1024.
-H, --height The Height of Application. Default is 768
-i, --ico The ICON of Application.
-d, --desc The Description of Application.
-c, --cfg The Configuration file of Application.
-r, --root The root path of the program web service.
-P, --port The port number of the program web service.
It should be noted that the command line will overwrite the configuration information of the configuration file.