theme initcommand
Clones a Git repository to your local machine to use as the starting point for building a theme.
If no Git repository is specified, then this command creates a copy of Shopify's Skeleton theme, with the specified name in the current folder. If no name is provided, then you're prompted to enter one.
If you're building a theme for the Shopify Theme Store, then you can use our example theme as a starting point. However, the theme that you submit needs to be substantively different from existing themes so that it provides added value for users.
Anchor to flagsFlags
The following flags are available for the theme init
command:
Disable color output.
The path where you want to run the command. Defaults to the current working directory.
Increase the verbosity of the output.
Downloads the latest release of the clone-url
The Git URL to clone from. Defaults to Shopify's Skeleton theme.