gcloud beta emulators datastore - manage your local datastore emulator
gcloud beta emulators datastore COMMAND [--data-dir=DATA_DIR] [GCLOUD_WIDE_FLAG ...]
(BETA) This set of commands allows you to start and use a local datastore emulator.
To start a local datastore emulator, run:
$ gcloud beta emulators datastore start
- --data-dir=DATA_DIR
The directory to be used to store/retrieve data/config for an emulator run. The default value is <USER_CONFIG_DIR>/emulators/datastore. The value of USER_CONFIG_DIR can be found by running:
$ gcloud info --format='get(config.paths.global_config_dir)'
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- env-init
(BETA) Print the commands required to export env variables of a datastore.
- env-unset
(BETA) Print the commands required to unset a datastore emulators env variables.
- start
(BETA) Start a local datastore emulator.
This command is currently in beta and might change without notice. This variant is also available:
$ gcloud alpha emulators datastore