Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Provides statistics and usage for your cloudinary resources.

Notifications You must be signed in to change notification settings

teamcarma/node-cloudinary-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudinary stats

Supported by:

Carma

Provides command line utilities to manage your cloudinary resources.


npm i cloudinary-utils -g

# list resources information
cloudinary-ls --cloud_name=XXX --api_key=XXX --api_secret=XXX

# list resources information by tag
cloudinary-ls --cloud_name=XXX --api_key=XXX --api_secret=XXX --tag=XXXX

# list resources information by tag
cloudinary-ls --cloud_name=XXX --api_key=XXX --api_secret=XXX --tag=XXXX

cloudinary-ls

List your cloudinary resources


# list resources information
cloudinary-ls --cloud_name=XXX --api_key=XXX --api_secret=XXX

# list resources information by tag
cloudinary-ls --cloud_name=XXX --api_key=XXX --api_secret=XXX --tag=XXXX

# format the resources result
cloudinary-ls --cloud_name=XXX --api_key=XXX --api_secret=XXX --format="public_id,format,secure_url"

Usage:


usage: cloudinary-ls [options]

 --api_key=STRING      The cloudinary api_key
 --api_secret=STRING   The cloudinary api_secret
 --cloud_name=STRING   The cloudinary cloud_name
 --format=STRING       Comma separated list of fields
 --maxPages=NUMBER     The maximum number of cloudinary resources pages
 --tag=STRING          The cloudinary resources tag
 -h, --help            display help & usage
 -v, --version         display cli name & version

cloudinary-rm

Removes the given cloudinary resource.


# removes all development resources ( from dev tag )
cloudinary-ls --cloud_name=XXX --api_key=XXX --api_secret=XXX --format="public_id" --maxPages=1 --tag=dev | cloudinary-rm --cloud_name=XXX --api_key=XXX --api_secret=XXX

Authors

About

Provides statistics and usage for your cloudinary resources.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published