ERROR: (gcloud.preview.app) Invalid choice: 'run'

ERROR: (gcloud.preview.app) Invalid choice: 'run'

我正在尝试在本地解决 golang hello-world bigtable example 运行ning 问题,并在本地解决 运行ning 问题。当我从 bigtable-hello 目录 运行 gcloud preview app run app.yaml 时,出现以下错误:

➜ bigtable-hello gcloud preview app run app.yaml Usage: gcloud preview app [optional flags] group may be
modules command may be deploy | gen-config

(BETA) This set of commands allows you to deploy your app, manage your existing deployments, and also run your app locally. These commands replace their equivalents in the appcfg tool.

global flags: Run gcloud -h for a description of flags available to all commands.

command groups: modules (BETA) View and manage your App Engine modules.

commands: deploy (BETA) Deploy the local code and/or configuration of your app to App Engine. gen-config (BETA) Generate missing configuration files for a source directory.

ERROR: (gcloud.preview.app) Invalid choice: 'run'.

Valid choices are [deploy, gen-config, gen-repo-info-file, instances, modules, services, versions].

我已经将演示文件放入我的本地 go 目录中,如下所示:

app run 不再是 gcloud SDK 的一部分,可以在所有可能的命令树下看到:

已用 version 92.0.0 released on January 13, 2016. That changelog recommends using dev_appserver.py instead. An example can be found in Running the local development server 删除。

> dev_appserver.py src/github.com/jamescharlesworth/bigtable-hello

其他标志和选项可以在 dev_appserver.pyLocal Development Server Options 文档中找到。