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