Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.47 KB

README.md

File metadata and controls

67 lines (47 loc) · 1.47 KB

🧀 Upload image to public CDN in terminal

Author Version License


Installation

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

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
  -h, --help             output usage information

Examples:
  upimg example.png
  upimg --server jd example.png

Related