Google 上的操作 - 在哪里可以找到 gactions CLI 的最新文档
Actions on Google - Where to find Up-to-date documentation for gactions CLI
我刚开始使用 Node.js 的 Actions SDK 为 Google Assistant 开发应用程序;我对环境完全陌生。我一直在关注这个指南:https://developers.google.com/assistant/conversational/quickstart
但是,我卡在了“安装 gactions 命令行工具”下的第 4 步。该指南说使用命令“gactions login”来验证 CLI,但是据我所知,“login”不是最新版本的 gactions CLI 的有效命令。当我 运行 gactions --help for available commands 我得到这个:
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 的最新文档?
如果您查看 Install Gactions section of the quickstart, you should find the appropriate download for the latest binary, v3.1.0
. The reference page for gactions v3+ 有更多关于它的信息。
我刚开始使用 Node.js 的 Actions SDK 为 Google Assistant 开发应用程序;我对环境完全陌生。我一直在关注这个指南:https://developers.google.com/assistant/conversational/quickstart
但是,我卡在了“安装 gactions 命令行工具”下的第 4 步。该指南说使用命令“gactions login”来验证 CLI,但是据我所知,“login”不是最新版本的 gactions CLI 的有效命令。当我 运行 gactions --help for available commands 我得到这个:
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 的最新文档?
如果您查看 Install Gactions section of the quickstart, you should find the appropriate download for the latest binary, v3.1.0
. The reference page for gactions v3+ 有更多关于它的信息。