Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knrt10/cloudinary-cli
Manage files of cloudinary.com using your command line.
https://github.com/knrt10/cloudinary-cli
Last synced: 3 months ago
JSON representation
Manage files of cloudinary.com using your command line.
- Host: GitHub
- URL: https://github.com/knrt10/cloudinary-cli
- Owner: knrt10
- License: mit
- Created: 2018-04-24T11:44:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T15:44:39.000Z (over 5 years ago)
- Last Synced: 2024-07-29T16:37:30.503Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 14
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - knrt10/cloudinary-cli - Manage files of cloudinary.com using your command line. (JavaScript)
README
Upload images to **cloudinary.com** using your command line.
# Preview
# Installation
**NPM**
`npm i --global cloudinary-cli-tool`
**Set env file**
`cloudTool env`
This will ask for your cloudinary configuration which you can get from [cloudinary console](https://cloudinary.com/console/)
# Usage
Run `cloudTool -h` to see commands you can use
**Output**
```
Usage: cloudTool [options] [command]Options:
-h, --help output usage information
Commands:
env|e Set your env file
upload|u [options] Upload file(s)
list|s [options] Search files and list them
rename|r Remane your public_id
delete|d [options] Delete your file(s)
```Run `cloudTool -h` to see particular commands usage
# How to upload
**Single File**
- `cloudTool u `**Multiple files**
- `cloudTool u -a ...`# How to fetch
**Help command**
- `cloudTool list -h`You will get following output
```
Options:-a, --all get all files
-s, --search Search file by publicID
-t, --type Search by type. can be or
-h, --help output usage information
```To get **all files**
- `cloudTool list -a`If you **know public_id** of file you can **get particular file**
- `cloudTool list -s public_id`You can also fetch by **type of file**
- For images `cloudTool list -t image`
- For gif `cloudTool list -t gif`# How to update fileName
`cloudTool r `
# Delete file
**Single File**
- `cloudTool d `**Multiple files**
- `cloudTool d -a ...`