shopware-cli

v0.0.2
Convinienve cli tool for shopware - BETA
cli-app cli shopware install update refresh sw.phar console

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

Metadata

  • MIT
  • >=6
  • Ben Zörb
  • released 8/3/2017

Downloads

Maintainers