🧀 Upload image to public CDN in terminal
yarn global add @upimg/cli
# npm install @upimg/cli -g
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
λ 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
- metowolf/upimg - Upload image to public CDN
- sindresorhus/ora - Elegant terminal spinner
- macOS Automator - macOS 下使用 Automator 上ä¼