cli storefront command
Create a Next.js Storefront
storefront
$ saleor storefront --help
Help output:
saleor storefront [command]
Create a Next.js Storefront
Commands:
saleor storefront create [name] Bootstrap example [name]
Options:
--json Output the data as JSON [boolean] [default: false]
--short Output data as text [boolean] [default: false]
-u, --instance, --url Saleor instance API URL (must start with the protocol, i.e. https:// or http://) [string]
-V, --version Show version number [boolean]
-h, --help Show help [boolean]
storefront create
$ saleor storefront create --help
Help output:
saleor storefront create [name]
Bootstrap example [name]
Positionals:
name [string] [default: "saleor-storefront"]
Options:
--json Output the data as JSON [boolean] [default: false]
--short Output data as text [boolean] [default: false]
-u, --instance, --url Saleor instance API URL (must start with the protocol, i.e. https:// or http://) [string]
--demo specify demo process [boolean] [default: false]
--environment specify environment id [string]
-t, --template [string] [default: "saleor/storefront"]
-b, --branch [string] [default: "canary"]
-V, --version Show version number [boolean]
-h, --help Show help [boolean]