mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-09-02 01:22:21 +08:00
82 lines
4.0 KiB
HTML
82 lines
4.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
</head>
|
|
|
|
<body>
|
|
<p><h1>帮助:</h1></p>
|
|
<p>
|
|
<h3>第一种用法: </h3><br />
|
|
spark-webapp-runtime 应用标题 目标网址 应用窗口宽度 应用窗口高度<br />
|
|
<p>
|
|
<br />
|
|
<p>
|
|
<h3>第二种用法: </h3><br />
|
|
运行 "spark-webapp-runtime -h" 查看命令行帮助信息<br />
|
|
<br />
|
|
<xmp>
|
|
用法:./spark-webapp-runtime [选项]
|
|
描述: 星火网页应用运行环境
|
|
|
|
选项:
|
|
-h, --help 显示这个此帮助。
|
|
-v, --version 显示版本信息。
|
|
-p, --parser 启用参数解析方式。默认为顺序解析方式。
|
|
-t, --title <title> 设置应用的标题。默认为
|
|
星火网页应用运行环境。
|
|
-u, --url <url> 设置要打开的目标 URL。默认为空。
|
|
-w, --width <width> 设置应用的窗口宽度。默认为 1024。
|
|
-H, --height <height> 设置应用的窗口高度。默认为 768。
|
|
--full-screen 以全屏模式运行。默认关闭该功能。
|
|
--fix-size 固定窗口大小。默认关闭该功能。
|
|
--hide-buttons 隐藏控制按钮。默认关闭该功能。
|
|
-i, --ico <ico> 设置应用的图标。
|
|
-d, --desc <desc> 设置应用的描述信息。
|
|
-c, --cfg <cfg> 设置应用的配置文件。
|
|
-r, --root <root> 设置内置 WebServer 的根路径。
|
|
-P, --port <port> 设置内置 WebServer 的监听端口号。
|
|
</xmp>
|
|
<br/>
|
|
<span style="color: red">需要注意的是, 命令行会覆盖配置文件信息。</span>
|
|
</p>
|
|
<hr />
|
|
<p><h1>How to Usage:</h1></p>
|
|
<p>
|
|
<h3>The first usage: </h3><br />
|
|
spark-webapp-runtime ApplicationTitle TargetURL ApplicationWidth ApplicationHeight<br />
|
|
<p>
|
|
<br />
|
|
<p>
|
|
<h3>The second usage: </h3><br />
|
|
Using "spark-webapp-runtime -h" to get help<br />
|
|
<br />
|
|
<xmp>
|
|
Usage: ./spark-webapp-runtime [options]
|
|
Description: spark-webapp-runtime
|
|
|
|
Options:
|
|
-h, --help Show this help Message.
|
|
-v, --version Show Version info.
|
|
-p, --parser Enable CommandLineParser. Default is false.
|
|
-t, --title <title> The Title of Application. Default is
|
|
SparkWebAppRuntime.
|
|
-u, --url <url> The target URL. Default is Blank.
|
|
-w, --width <width> The Width of Application. Default is 1024.
|
|
-H, --height <height> The Height of Application. Default is 768.
|
|
--full-screen Run in Fullscreen Mode. Default is false.
|
|
--fix-size Fix Window Size. Default is false.
|
|
--hide-buttons Hide Control Buttons. Default is false.
|
|
-i, --ico <ico> The ICON of Application.
|
|
-d, --desc <desc> The Description of Application.
|
|
-c, --cfg <cfg> The Configuration file of Application.
|
|
-r, --root <root> The root path of the program web service.
|
|
-P, --port <port> The port number of the program web service.
|
|
</xmp>
|
|
<br/>
|
|
<span style="color: red">It should be noticed that the command line parsers will overwrite the configuration from the config file.</span>
|
|
</p>
|
|
</body>
|
|
</html>
|
|
|