theme-starter
Version:
A CLI tool for initializing and configuring Shopify theme projects quickly and efficiently.
54 lines (35 loc) ⢠1.17 kB
Markdown
# Shopify Project CLI
## Description
This CLI tool allows you to quickly set up a new Shopify project by creating necessary folders and configuration files, initializing a Git repository, and ensuring all essential files are in place.
## Installation
```sh
npm install -g theme-starter
```
## Usage
Run the command:
```sh
theme-starter
```
You will then be prompted to configure your new project:
- **Create a new folder or use an existing one**
- **Choose the folder location** (Desktop or another location)
- **Initialize a Git repository**
- **Add .gitignore and .shopifyignore**
- **Create `shopify.theme.toml`**
- **Enter the Shopify store name and theme ID**
## Features
ā
**Create a new folder or use an existing one**
š **Automatically generate necessary files** (`.gitignore`, `.shopifyignore`, `shopify.theme.toml`)
š **Initialize a Git repository**
š **User-friendly interactive interface**
## Example Usage
```sh
theme-starter
```
Then follow the prompts to create your Shopify project!
## Requirements
- **Node.js** >=16
- **npm** >=7
- **Installed Shopify CLI**
## License
This project is licensed under the MIT License.