1.0.2 • Published 3 years ago

upload2qiniu v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

upload2qiniu

Command line tool for uploading file to QiNiuYun

Install

# with npm
npm install -g upload2qiniu

# or with Yarn
yarn global add upload2qiniu

Usage

touch a .env file under user home dir like /Users/ashin/.env and add the config

QINIU_AK=your qiniu ak
QINIU_SK=your qiniu sk
QINIU_BUCKET=bucket your want upload file in
QINIU_CDNLINK=the cdn link
QINIU_ZONE=Zone_z2

Zones:

  • 华东 Zone_z0
  • 华北 Zone_z1
  • 华南 Zone_z2
  • 北美 Zone_na0

upload file

upload2qiniu -f package.json