shortlink-cli
生成/还原短连接命令行接口
install
npm install -g shortlink-cli
Usage
# 生成短链接 shortlink gen [options] longurl# 还原短链接 shortlink restore shorturl
options
--baidu
使用百度短连接服务 http://dwz.cn/--weibo
使用新浪微博短连接服务 http://open.weibo.com/wiki/2/short_url/shorten
More
如果你想添加更多的短连接服务,请提交Pull Request!