「pione-interactive」の版間の差分
提供: Eospedia
(→メインオプション) |
|||
(同じ利用者による、間の4版が非表示) | |||
行6: | 行6: | ||
<tr> | <tr> | ||
<th>オプション</th> | <th>オプション</th> | ||
− | <th> | + | <th>型</th> |
− | <th> | + | <th>デフォルト</th> |
<th>説明</th> | <th>説明</th> | ||
</tr> | </tr> | ||
行59: | 行59: | ||
</tr> | </tr> | ||
<table> | <table> | ||
+ | <br> | ||
+ | |||
+ | === 引数の詳細 === | ||
+ | 引数は現在browserのみ対応しています。<br> | ||
<br> | <br> | ||
行67: | 行71: | ||
== 実行例 == | == 実行例 == | ||
=== オプション必須項目のみの場合 === | === オプション必須項目のみの場合 === | ||
− | + | 下記のような[[PIONE定義書]]及びindex.htmlから、[[pione package build]]にてパッケージ化したファイルを[[PIONE Webclient]]にて実行します。<br> | |
+ | <br> | ||
+ | |||
+ | [[PIONE定義書]]<br> | ||
<pre> | <pre> | ||
+ | .@ PackageName :: "InteractiveTest" | ||
+ | |||
+ | Rule Main | ||
+ | Action | ||
+ | pione-interactive browser --public ./etc | ||
+ | End | ||
</pre> | </pre> | ||
+ | <br> | ||
+ | |||
+ | etc/index.html<br> | ||
+ | <pre> | ||
+ | <!DOCTYPE html> | ||
+ | <html> | ||
+ | <head> | ||
+ | <meta charset="utf-8"> | ||
+ | <title>InteractiveTest Index Page</title> | ||
+ | </head> | ||
+ | <body> | ||
+ | <a href="?pione-action=finish">終了</a> | ||
+ | </body> | ||
+ | </html> | ||
+ | </pre> | ||
+ | <br> | ||
+ | |||
+ | なお、[[PIONEチュートリアル#実行例8(インタラクティブ操作)]]にも記述例を記載しておりますのでこちらもご覧下さい。<br> | ||
<br> | <br> |
2014年12月11日 (木) 06:47時点における最新版
pione-interactiveとはインタラクティブ操作を行うためのPIONEのコマンドです。PIONE定義書などに記述して使用します。
オプション一覧
メインオプション
オプション | 型 | デフォルト | 説明 |
---|---|---|---|
引数 | type | 必須 | View type(browser または dialog) |
-o | FILE | stdout | 結果出力ファイルの指定 |
--public | DIR | 必須 | 作業ディレクトリの指定 |
--timeout | SEC | 0 | タイムアウト設定(秒)(0のときはタイムアウトしない) |
--color | BOOLEAN | true | 出力結果の文字に色を付ける |
--debug | [TYPE] | system | デバッグモードで実行 |
-h | [FORMAT] | txt | ヘルプを表示 |
-v | なし | なし | バージョンを表示 |