Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

shopware-cli

bezoerb34MIT0.1.7

Convinienve cli tool for shopware - BETA

cli-app, cli, shopware, install, update, refresh, sw.phar, console

readme

NPM version Build Status Dependency Status Coverage percentage

Shopware CLI

Convinienve CLI tool for shopware - BETA

Features

  • Install shopware with an opinionated folder structure for git projects.
  • Update projects
  • Run shopware console commands from any subdirectory in the project
  • Run the official shopware CLI tools from any subdirectory in the project.

Install

$ npm i -g shopware-cli

Usage

Install

$ shopware install
├── plugins          # Plugins get symlinked to src/custom/plugins/...
├── plugins-legacy   # Legacy plugins get symlinked to src/engine/Shopware/Plugins/Local/...
│   ├── Backend
│   ├── Core
│   └── Frontend
├── src              # Shopware installation
└── themes
    └── Frontend     # Themes get symlinked to src/themes/Frontend/...

With this structure it's possible to keep shopware clean and out of your git repository

Update

$ shopware update

Update submodule, plugins and theme and finally run migrations. Should be called after git pull

Console

$ shopware console command [options] [arguments]

Official shopware CLI tools

$ shopware tools command [options] [arguments]

License

MIT © Ben Zörb