Skip to main content

CLI tool for Qiniu

Project description

qiniu-cli

Qiniu CLI tool.

Install

pip install qiniu-cli

Usage

$ qiniu_cli upload requirements.txt
http://tmp-images.qiniudn.com/requirements.txt

$ qiniu_cli upload --save-dir "comics/2014/" *.png *.txt
http://tmp-images.qiniudn.com/comics/2014/2014-09-25-EveryFall.zh-cn.png
http://tmp-images.qiniudn.com/comics/2014/3014.painting.png
http://tmp-images.qiniudn.com/comics/2014/requirements.txt


$ qiniu_cli --help
Usage: qiniu_cli [OPTIONS] COMMAND [ARGS]...

Options:
  -c, --config FILENAME  Config file(default: config.json).
  --bucket TEXT          Bucket name.
  -v, --verbose          Enables verbose mode.
  --version              Show the version and exit.
  --help                 Show this message and exit.

Commands:
  search  Search file.
  upload  Upload file.

$ qiniu_cli upload --help
Usage: qiniu_cli upload [OPTIONS] FILES...

Options:
  --save-name TEXT  File save name.
  --save-dir TEXT   Upload to directory.
  --auto-name       Auto name file by sh1 hex digest with timestamp.
  --help            Show this message and exit.

Changelog

0.1.0 (2014-10-12)

  • Initial Release

Project details


Release history Release notifications

This version
History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
qiniu_cli-0.1.0-py2.py3-none-any.whl (7.5 kB) Copy SHA256 hash SHA256 Wheel 2.7 Oct 12, 2014
qiniu-cli-0.1.0.tar.gz (6.2 kB) Copy SHA256 hash SHA256 Source None Oct 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page