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