メインコンテンツまでスキップ

ActionScriptの保存と読み込み

ActionScript は、CLI ツールで保存と読み込みできます。

保存​

ActionScript ファイルをダウンロードします。

hx actions:scripts:download ACTION_ID

USAGE​

$ hx actions:scripts:download ACTION_ID

ARGUMENTS​

ACTION_ID  action_id from hexabase

OPTIONS​

-c, --context=context  use provided context instead of currently set context
-h, --help show CLI help
-o, --output=output output file
-t, --type=post|pre (required) script type

ALIASES​

$ hx scripts:download

See code: src/commands/actions/scripts/download.ts

読み込み​

ActionScript ファイルをアップロードします。

hx actions:scripts:upload ACTION_ID FILE

USAGE​

$ hx actions:scripts:upload ACTION_ID FILE

ARGUMENTS​

ACTION_ID  action_id from hexabase
FILE file to be uploaded, e.g. script.js

OPTIONS​

-c, --context=context  use provided context instead of currently set context
-h, --help show CLI help
-t, --type=post|pre (required) script type
-y, --yes skip confirmation

ALIASES​

$ hx scripts:upload

See code: src/commands/actions/scripts/upload.ts