You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cloudinary-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudinary-cli

A command-line interface into cloudinary

1.1.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Command-line Interface for Cloudinary

Not being able to find an easy way to upload files to cloudinary from the command-line, I created this tool to do so.

Installation

Install using npm

npm -g install cloudinary-cli

Configuration

Global config

By adding a $HOME/.cloudinary file in the following format, all commands will parse that file for it's configuration

{
	cloud_name: 'sample', 
	api_key: '874837483274837', 
	api_secret: 'a676b67565c6767a6767d6767f676fe1'
}

Command config

The command line flags will override the global configuration file

-n, --cloud_name [cloud_name]  Cloudinary cloud name
-k, --api_key [api_key]        Cloudinary api key
-s, --api_secret [api_secret]  Cloudinary api secret

Usage

Upload

To upload a single file simply run

cloudinary upload foo.png

To upload multiple files, use a space seperated list

cloudinary upload image1.png image2.png image3.png

Options

You can use the following options when uploading

  --folder, -f      The folder
  --usefilename     Use the system filename

Keywords

cloudinary

FAQs

Package last updated on 22 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.