Skip to main content

-

Project description

https://travis-ci.org/podhmo/shosai.svg?branch=master

supporting tool, management stock type document(not flow type document).

config

please, setup $HOME/.config/shosai/config.json, like below.

{
  "docbase": {
    "teamname": "<team name>",
    "token": "<token>",
    "username": "<username>"
  },
  "hatena": {
    "blog_id": "<username>.hatenablog.com",
    "client_id": "<client id>",
    "client_secret": "<client secret>",
    "consumer_key": "<consumer key>",
    "consumer_secret": "<consumer secret>",
    "hatena_id": "<hatena id>",
  }
}

push article

$ shosai docbase push docs/xxx.md
  • upload (or update) article

  • (the document has images ![text](url), uploading ones as attachment files)

pull article

$ shosai docbase pull docs/xxx.md
  • update local article (using this command, when managed article is already downloaded)

clone article

$ shosai docbase clone https://<teamname>.docbase.io/posts/xxxxxx --name xxx.md
  • download article

search article

$ shosai docbase search
  • getting recently uploaded documents

Project details


Download files

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

Source Distribution

shosai-0.0.1.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

shosai-0.0.1-py2.py3-none-any.whl (13.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page