我刚刚开始使用 Actions SDK for Node.js 为 Google Assistant 开发一个应用程序;我对环境完全陌生。我一直在关注本指南:https ://developers.google.com/assistant/conversational/quickstart
但是,我在“安装 gactions 命令行工具”下的第 4 步卡住了。该指南说使用命令“gactions login”来验证 CLI,但是据我所知,“login”不是最新版本的 gactions CLI 的有效命令。当我为可用命令运行 gactions --help 时,我得到以下信息:
NAME:
gactions - The Actions on Google command line interface that you can use to test and update your app for the Assistant.
USAGE:
gactions.exe [global options] command [command options] [arguments...]
VERSION:
2.2.4
COMMANDS:
init Create a default action.json file
test Takes the specified app for the Assistant and makes it available for previewing/simulation
update Updates the draft action in the app for the Assistant for the given project
list List up to 10 recent versions of your app for the Assistant: in review, production, approved, etc
get Get the contents of a given version of your app for the Assistant
selfupdate Checks for updates for this tool
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--verbose, -v Show more detailed output
--help, -h show help
--version, -V print the version
由于我的 gactions CLI 版本可用的命令数量非常有限,我似乎需要先部署我的应用程序,然后才能开始使用 gactions CLI,这对我来说没有任何意义。为什么我要部署一个空的 Actions 项目,以便我可以开始使用 gactions 处理它?
我为 gactions CLI ( https://developers.google.com/assistant/actionssdk/gactions ) 找到的文档似乎同样过时了。有谁知道我在哪里可以找到 gactions CLI 的最新文档?