hydrogen logout
Logs out of Shopify and clears .shopify/project.json, including the storefront link.
Anchor to flagsFlags
The following flags are available for the hydrogen logout command:
- Anchor to --json-schema--json-schema--json-schemaenv: SHOPIFY_FLAG_JSON_SCHEMAenv: SHOPIFY_FLAG_JSON_SCHEMA
Print the command's JSON schemas.
- Anchor to --path <value>--path <value>--path <value>stringstringenv: SHOPIFY_HYDROGEN_FLAG_PATHenv: SHOPIFY_HYDROGEN_FLAG_PATH
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
Examples
hydrogen logout
shopify hydrogen logout [flags]
Examples
Hydrogen logout
hydrogen logout
shopify hydrogen logout [flags]
Was this page helpful?