hydrogen logincommand
command
Logs in to the specified shop and saves the shop domain to the project.
Anchor to flagsFlags
The following flags are available for the hydrogen login
command:
- Anchor to --path <value>--path <value>stringenv: SHOPIFY_HYDROGEN_FLAG_PATH
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
- Anchor to -s, --shop <value>-s, --shop <value>stringenv: SHOPIFY_SHOP
Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).
hydrogenlogin
- --path <value>
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
string
- -s, --shop <value>
Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).
string
export interface hydrogenlogin {
/**
* The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
* @environment SHOPIFY_HYDROGEN_FLAG_PATH
*/
'--path <value>'?: string
/**
* Shop URL. It can be the shop prefix (janes-apparel) or the full myshopify.com URL (janes-apparel.myshopify.com, https://janes-apparel.myshopify.com).
* @environment SHOPIFY_SHOP
*/
'-s, --shop <value>'?: string
}
Was this section helpful?
Hydrogen login
shopify hydrogen login [flags]
examples
hydrogen login
hydrogen login
shopify hydrogen login [flags]