Skip to content
🧀 Upload image to public CDN in terminal
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.eslintrc.js
.gitignore
.npmignore
.yarnclean
LICENSE
README.md
package.json
upimg.svg
yarn.lock

README.md

🧀 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

You can’t perform that action at this time.