Akhbarq CLI
The Akhbarq Command Line Interface (CLI) is a powerful tool for automating your file transformation and hosting workflows directly from your terminal or CI/CD pipelines.
Installation
npm install -g @akhbarq/cliEnsure you have Node.js 16+ installed on your system before beginning.
Quick Start
# Authenticate (optional for public uploads)akhbarq login# Upload and convert an imageakhbarq upload ./my-photo.jpg --webp --compressCommands
upload [path]
Upload a single file or an entire directory to the Akhbarq cloud.
compress [file]
Apply lossless compression to local images before backup.
status
Check the current availability of the Akhbarq global CDN.
clear-cache
Flush the local temporary workspace used for large batch processing.