Skip to content
/ qu Public

Quickly generating unique url of a picture for markdown files.

License

Notifications You must be signed in to change notification settings

cls1991/qu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

89045ac · Dec 28, 2017

History

11 Commits
Dec 22, 2017
Dec 21, 2017
Dec 21, 2017
Dec 14, 2017
Dec 28, 2017
Dec 28, 2017
Dec 28, 2017

Repository files navigation

qu

https://travis-ci.org/cls1991/qu.svg?branch=master

Quickly generating unique url of a picture for markdown files.

https://asciinema.org/a/41WfW5ehC7RRXQ8WA4unZG5WY.png

☤ Quickstart

Upload an image file to qiniu:

$ qu up /somewhere/1.png
$ qu up /somewhere/1.png 2.png

Set configuration of qiniu:

$ qu wc --access_key=AK --secret_key=SK --bucket_name=BN --domain_name=DN

List local configuration of qiniu:

$ qu sc
$ qu sc --format-type json

☤ Installation

You can install "qu" via pip from PyPI:

$ pip install qu

☤ Usage

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

  Quickly generating unique url of a picture for markdown files.

Options:
  --help  Show this message and exit.

Commands:
  dc      Clear configuration of qiniu.
  sc      Show configuration of qiniu.
  up      Upload an image to qiniu.
  wc      Set configuration of qiniu.


$ qu wc --help
Usage: qu wc [OPTIONS]

  Set configuration of qiniu.

Options:
  -ak, --access_key TEXT   qiniu access_key.
  -sk, --secret_key TEXT   qiniu secret_key.
  -bn, --bucket_name TEXT  qiniu bucket_name.
  -dm, --domain_name TEXT  qiniu domain_name.
  --help                   Show this message and exit.


$ qu sc --help
Usage: qu sc [OPTIONS]

  Show configuration of qiniu.

Options:
  --format-type [json|xml]  output format type.
  --help                    Show this message and exit.

About

Quickly generating unique url of a picture for markdown files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages