gcloud alpha code

gcloud alpha code - create and manage a local development environment for Cloud Run
gcloud alpha code COMMAND [--build-context-directory=BUILD_CONTEXT_DIRECTORY] [--builder=BUILDER] [--cloudsql-instances=[CLOUDSQL_INSTANCE,…]] [--cpu-limit=CPU_LIMIT] [--dockerfile=DOCKERFILE; default="Dockerfile"] [--image-name=IMAGE_NAME] [--local-port=LOCAL_PORT] [--memory-limit=MEMORY_LIMIT] [--service-account=SERVICE_ACCOUNT] [--service-name=SERVICE_NAME] [--env-vars=[KEY=VALUE,…]     | --env-vars-file=FILE_PATH] [GCLOUD_WIDE_FLAG]
(ALPHA) This set of commands can be used create or change a local development setup.
If set, use this as the context directory when building the container image. Otherwise, the directory of the Dockerfile will be used.
Build with a given Cloud Native Computing Foundation Buildpack builder.
Cloud SQL instance connection strings. Must be in the form <project>:<region>:<instance>.
Container CPU limit. Limit is expressed as a number of CPUs. Fractional CPU limits are allowed (e.g. 1.5).
--dockerfile=DOCKERFILE; default="Dockerfile"
Dockerfile for the service image.
Name for the built docker image.
Local port to which the service connection is forwarded. If this flag is not set, then a random port is chosen.
Container memory limit. Limit is expressed either as an integer representing the number of bytes or an integer followed by a unit suffix. Valid unit suffixes are "B", "KB", "MB", "GB", "TB", "KiB", "MiB", "GiB", "TiB", or "PiB".
When connecting to Google Cloud Platform services, use a service account key.
Name of the service.
At most one of these may be specified:
List of key-value pairs to set as environment variables.
Path to a local YAML file with definitions for all environment variables.
These flags are available to all commands: --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

COMMAND is one of the following:
(ALPHA) Run a service in a development environment.
(ALPHA) Writes skaffold and kubernetes files for local development.
To set up a local development environment, run:
  $ gcloud alpha code setup
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access whitelist.