Akbarak CLI
The Akbarak 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 @akbarak/cliEnsure you have Node.js 16+ installed on your system before beginning.
Quick Start
# Authenticate (optional for public uploads)akbarak login# Upload and convert an imageakbarak upload ./my-photo.jpg --webp --compressCommands
upload [path]
Upload a single file or an entire directory to the Akbarak cloud.
compress [file]
Apply lossless compression to local images before backup.
status
Check the current availability of the Akbarak global CDN.
clear-cache
Flush the local temporary workspace used for large batch processing.