qnx
npm install qnx -g
Last updated 3 years ago by awesomeding .
ISC · Original npm · Tarball · package.json
$ cnpm install qnx 
SYNC missed versions from official npm registry.

欢迎使用qnx

[TOC]

安装qnx

npm install qnx -g

指定账号

qnx use <name>

配置账号

qnx config <name> ak=you qiniu ak
qnx config <name> sk=you qiniu sk
qnx config <name> base=you qiniu base url
qnx config <name> bucket=you qiniu bucket

上传至cdn

qnx upload localPath qiniuPath

示例

for example:

qnx use leanote

qnx config leanote ak=<ak1>
qnx config leanote sk=<sk1>
qnx config leanote base=<base1>
qnx config leanote bucket=<bucket1>

qnx upload mydir remotedir

mydir
mydir/a.html            ===>     <base1>/qn/remotedir/mydir/a.html
mydir/mydir2/b.html     ===>     <base1>/qn/remotedir/mydir/mydir2/b.html

添加更多账号

you can add more than one <name>

for example:

qnx config starnet ak=<ak2>
qnx config starnet sk=<sk2>
qnx config starnet base=<base2>
qnx config starnet bucket=<bucket2>

qnx use starnet

qnx upload mydir remotedir

mydir
mydir/a.html            ===>     <base2>/qn/remotedir/mydir/a.html
mydir/mydir2/b.html     ===>     <base2>/qn/remotedir/mydir/mydir2/b.html

qnx will ignore the file that not modified since last upload time.

Current Tags

  • 1.3.8                                ...           latest (3 years ago)

12 Versions

  • 1.3.8                                ...           3 years ago
  • 1.3.7                                ...           3 years ago
  • 1.3.6                                ...           3 years ago
  • 1.3.5                                ...           3 years ago
  • 1.3.4                                ...           3 years ago
  • 1.3.3                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 4
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |