Skip to content

An elixir command line client which helps with uploading image files or urls to cloudinary

Notifications You must be signed in to change notification settings

smeevil/cloudex_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudexCli

Installation

  1. Clone the repository.
  2. Go to the repository directory
  3. Run mix deps.get
  4. Run mix escript.build
  5. you will now have a binary called cloudex_cli

Configuration

By default cloudex will look for a dotfile in ~/.cloudex.conf

This file should contain the following settings :

api_key: YOU_CLOUDINARY_API_KEY
secret: YOU_CLOUDINARY_SECRET
cloud_name: YOU_CLOUDINARY_CLOUD_NAME
  • alternatively you can set the following ENV vars : CLOUDEX_API_KEY CLOUDEX_SECRET CLOUDEX_CLOUD_NAME

  • Lastly its also possible to give these settings with the command like, for example :

cloudex --api-key=YOU_CLOUDINARY_API_KEY --secret=YOU_CLOUDINARY_SECRET --cloud-name=YOU_CLOUDINARY_CLOUD_NAME ./image.jpg

About

An elixir command line client which helps with uploading image files or urls to cloudinary

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages