[go: up one dir, main page]

Skip to content

🧀 Upload image to public CDN in terminal

License

Notifications You must be signed in to change notification settings

metowolf/upimg-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧀 Upload image to public CDN in terminal

Author Version License


Installation

yarn global add @upimg/cli
# npm install @upimg/cli -g

Usage

Upload a single image

$ upimg dog.png
$ upimg -s jd dog.png

Upload multiple images (globbing supported)

$ upimg "*.jpeg" dog.png
$ upimg ~/*.(jpg|png|gif)

Setting default CDN server

$ upimg --config

Interface

λ upimg --help
Usage: upimg [options]

Options:
  -V, --version          output the version number
  -c, --config           Setting default CDN server & cookie
  -s, --server [server]  Upload throuth a given CDN server
  -r, --raw              Raw output
  -h, --help             output usage information

Examples:
  upimg example.png
  upimg --server jd example.png
  upimg example.png --raw | clipcopy

Related

About

🧀 Upload image to public CDN in terminal

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published