# themelab

> Shopify Theme Lab CLI

Latest version **0.6.1** (published 2021-06-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install themelab
pnpm add themelab
yarn add themelab
bun add themelab
```

Provides the command `themelab`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.1 |
| Published | 2021-06-28 |
| First published | 2020-12-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 12.0.0 |
| Dependencies | 9 |
| Unpacked size | 24.2 KB |
| Known vulnerabilities | 0 (+24 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Sergej Samsonenko |
| Maintainers | sergejcodes |
| Keywords | shopify, theme lab, cli |

## Links

- npm: https://www.npmjs.com/package/themelab
- Repository: https://github.com/uicrooks/shopify-theme-lab-cli
- Homepage: https://github.com/uicrooks/shopify-theme-lab-cli#readme
- Issues: https://github.com/uicrooks/shopify-theme-lab-cli/issues
- npm.io page: https://npm.io/package/themelab

## Dependencies (9)

- [ora](https://npm.io/package/ora.md) ^5.4.1
- [yaml](https://npm.io/package/yaml.md) ^1.10.2
- [axios](https://npm.io/package/axios.md) ^0.21.1
- [chalk](https://npm.io/package/chalk.md) ^4.1.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^10.0.0
- [inquirer](https://npm.io/package/inquirer.md) ^8.1.1
- [commander](https://npm.io/package/commander.md) ^8.0.0
- [git-clone](https://npm.io/package/git-clone.md) ^0.1.0
- [@shopify/themekit](https://npm.io/package/@shopify/themekit.md) ^1.1.9

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.6.1 (latest) — 2021-06-28
- 0.6.0 — 2021-06-28
- 0.5.0 — 2021-02-24
- 0.4.0 — 2021-01-20
- 0.3.0 — 2020-12-25
- 0.2.0 — 2020-12-24
- 0.1.3 — 2020-12-22
- 0.1.2 — 2020-12-22
- 0.1.1 — 2020-12-22
- 0.1.0 — 2020-12-22

## README

<!-- logo (start) -->
<p align="center">
  <img src=".github/img/logo.svg" width="275px">
</p>
<!-- logo (end) -->

<!-- badges (start) -->
<p align="center">
  <img src="https://img.shields.io/github/package-json/v/uicrooks/shopify-theme-lab-cli?color=%236e78ff">
</p>
<!-- badges (end) -->

<!-- title / description (start) -->
<h2 align="center">Shopify Theme Lab CLI</h2>

Command Line Interface for [Shopify Theme Lab](https://github.com/uicrooks/shopify-theme-lab).
> There is no need to install this package locally, `npx` takes care of everything, simply run the commands in your terminal.
<!-- title / description (end) -->

<!-- system requirements (start) -->
## System requirements

- Node.js >= `12.0.0`
<!-- system requirements (end) -->

<!-- commands (start) -->
## Commands
> For all options you can also use the shorthand version, which is the first letter only, with a single dash in front e.g. For `--password` it's `-p`.

**Create a local development environment:**
```sh
$ npx themelab create <directory-name>
```

**Create a local development environment from a preset:**
> Prints a list of available options in the terminal to select from
```sh
$ npx themelab create <directory-name> --preset
```

**Initialize a remote Shopify theme and create a local config file:**
> Run in the root directory of your Shopify Theme Lab project!
```sh
$ npx themelab shopify:init --password [your-api-password] --store [your-store.myshopify.com] --env [dev or live] --name ['theme name']
```

**Create a local config file (connect to an existing Theme Lab theme on a remote store):**
> Run in the root directory of your Shopify Theme Lab project!
```sh
$ npx themelab shopify:init --password [your-api-password] --store [your-store.myshopify.com] --env [dev or live] --id [theme-id]
```

**Create a local config file for a published/main theme:**
> Run in the root directory of your Shopify Theme Lab project!
```sh
$ npx themelab shopify:init --password [your-api-password] --store [your-store.myshopify.com] --env [dev or live] --main
```

**Display help:**
```sh
$ npx themelab --help
```
<!-- commands (end) -->

---
_Source: https://npm.io/package/themelab · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
