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

0.0.4

  • –verbose option

  • rfind, when finding mapping.json

0.0.2

  • fix bug for docbase, treating metadata (scope, groups, draft)

0.0.1

  • first release

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

shosai-0.0.4-py2.py3-none-any.whl (14.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file shosai-0.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: shosai-0.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for shosai-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 76c96630675cae0f1bc53ba379e18cb9101eb13622904dc5276178518824d741
MD5 3075d615d72d4b853f630a29c5af1446
BLAKE2b-256 388b6b9e2f5db9fdd5387c13b6dd23a85c1eb0988ebf613a830b8b061423be10

See more details on using hashes here.

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