Skip to content

cksource/easy-image-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy-image cli

Console application for uploading images from your drive to the Easy Image service.

Requirements

Installation

npm install easy-image-cli

Usage

easy-image-cli upload [options] <filePath> <uploadUrl>

One of the following options must be provided: * Token URL * (or) Environment ID and Access Key.

The correct values of Environment ID and Access Key can be found in the CKEditor Ecosystem dashboard: https://dashboard.ckeditor.com. As a token URL you may use the development token URL, also available in the dashboard.

Examples:

easy-image-cli upload ./images/ https://XXX.cke-cs.com/easyimage/upload/ -t http://example.com/token/ --output images.json

OR

easy-image-cli upload ./images/ https://XXX.cke-cs.com/easyimage/upload/ -e FsBgSO -k dGaXSA9uTlAs --output images.json

Options:

-e, --environment <environment>  Environment ID
-k, --key <key>                  Secret key
-t, --tokenUrl <url>             Token URL
-o, --output <path>              Path to the file where result should be saved
-h, --help                       output usage information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published