Pulls environment variables from the linked Hydrogen storefront and writes them to an `.env` file.
shopify hydrogen env pull [flags]
The following flags are available for the `hydrogen env pull` command:
Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.
env: SHOPIFY_HYDROGEN_ENVIRONMENT_BRANCH
Specifies the environment to perform the operation using its Git branch name.
Path to an environment file to override existing environment variables. Defaults to the '.env' located in your project path `--path`.
env: SHOPIFY_HYDROGEN_FLAG_PATH
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
env: SHOPIFY_HYDROGEN_FLAG_FORCE
Overwrites the destination directory and files if they already exist.