Wim Shopware CLI
Installation
Using Go
Using Homebrew (macOS/Linux)
orDownload Binary
Download the latest binary from the releases page.
Usage
PatchVendor Command
Generate unified diff patches for Shopware vendor modifications:
# Basic usage
wswcli patchvendor source.php patched.php output.patch
# Interactive mode
wswcli patchvendor
# Directory processing
wswcli patchvendor vendor/shopware/core custom/patches patches/
Features
- Directory processing: Batch process entire directory structures
- Smart validation: Comprehensive input validation with detailed error messages
- Vendor path handling: Automatic vendor path extraction and normalization
- Interactive mode: Guided workflow with helpful prompts and suggestions
For detailed documentation, see patchvendor.md.
Development
Prerequisites
- Go 1.21 or later
Building
Testing
Creating a Release
License
This project is licensed under the MIT License - see the LICENSE file for details.