pcual-mac/image-basekit-cli

Small CLI app that handles image storage to be used as part of a wider application. You can assume actual capture of the image happens elsewhere in the wider application and the local path to an image can simply be passed as input to the CLI app. The app should perform basic validation on the image

dev-master 2021-06-10 15:13 UTC

This package is auto-updated.

Last update: 2024-05-10 21:15:34 UTC


README

AMP validation Example

Transfer Files :

Use a config file to set which mimetype is allowed to be transferred## Installation

git clone https://github.com/pcualmac/image-Basekit-cli.git

Composer

composer install

Usage

php image-cli command:validation /var/www/vhosts/image-cli/public/download.jpeg
php image-cli command:delete /var/www/vhosts/image-cli/public/download.jpeg
php image-cli command:store /var/www/vhosts/image-cli/public/download.jpeg
php image-cli command:download /var/www/vhosts/image-cli/public/download.jpeg

List

  • Install Laravel-zero
  • Hello Word
  • Add Config file
  • Support Class
  • Add Test
  • Add queue. Transfer to s3 or ftp can be a slowly task
  • Redfin command syntax. "more info from cliente is need."
php image-Basekit-cli command:download <source> <path> <destination> <path>
  • Add Menu
  • Excute Build
  • Add to packagist

buymeacoffee