【问题标题】:Actions on Google - Where to find Up-to-date documentation for gactions CLIActions on Google - 哪里可以找到 gactions CLI 的最新文档
【发布时间】:2021-03-19 22:36:39
【问题描述】:

我刚刚开始使用 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 的最新文档吗?

【问题讨论】:

    标签: node.js google-api sdk google-assistant-sdk google-assistant


    【解决方案1】:

    如果您查看快速入门的Install Gactions 部分,您应该会找到最新二进制文件v3.1.0 的适当下载。 reference page for gactions v3+ 有更多相关信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-01-26
      • 2012-06-06
      • 1970-01-01
      • 2013-09-04
      • 2018-02-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多