franzwilding/bunny-rsync

Sync a local directory with bunny edge storage zone and purge cache

dev-main 2022-04-06 13:57 UTC

This package is auto-updated.

Last update: 2024-04-06 18:39:03 UTC


README

Inspired by https://github.com/own3d/bunny-cli

Based on https://flysystem.thephpleague.com/, https://github.com/thadbryson/flysystem-sync and https://github.com/PlatformCommunity/flysystem-bunnycdn

Installation

composer global require franzwilding/bunny-rsync 

Usage

bunny-cdn-rsync {local-directory} {storage-zone-id} --api-key={api-key}
# example: bunny-cdn-rsync ./dist 12345 --api-key=af-a8-fo