I'm trying to get the golang hello-world bigtable example running locally locally and running into this issue. When I run gcloud preview app run app.yaml
from the bigtable-hello
directory, I get the following error:
➜ 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].
I've put the demo files into my local go directory like below: