Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozillazg/qiniu-cli
Qiniu CLI tool
https://github.com/mozillazg/qiniu-cli
Last synced: 13 days ago
JSON representation
Qiniu CLI tool
- Host: GitHub
- URL: https://github.com/mozillazg/qiniu-cli
- Owner: mozillazg
- License: mit
- Created: 2014-08-01T03:32:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-12T09:12:53.000Z (over 10 years ago)
- Last Synced: 2024-12-10T03:26:18.499Z (about 1 month ago)
- Language: Python
- Size: 195 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
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.