Shopify CLI Docs

shopify theme metafields pull

Download metafields definitions from your shop into a local file.

Retrieves metafields from Shopify Admin.

If the metafields file already exists, it will be overwritten.

Usage

shopify theme metafields pull [flags]

Summary

Download metafields definitions from your shop into a local file.

Flags

  • --no-color — Disable color output. optional Environment: SHOPIFY_FLAG_NO_COLOR.
  • --password <value> string — Password generated from the Theme Access app or an Admin API token. optional Environment: SHOPIFY_CLI_THEME_TOKEN.
  • --path <value> string — The path where you want to run the command. Defaults to the current working directory. optional Environment: SHOPIFY_FLAG_PATH.
  • --verbose — Increase the verbosity of the output. optional Environment: SHOPIFY_FLAG_VERBOSE.
  • -e, --environment <value> string — The environment to apply to the current command. optional Environment: SHOPIFY_FLAG_ENVIRONMENT.
  • -s, --store <value> string — Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com). optional Environment: SHOPIFY_FLAG_STORE.

Official source

On this page