@minodisk/medic

    0.8.0 • Public • Published

    @minodisk/medic npm version

    A CLI retrives the post metadata and body from the markdown file, transforms the body to HTML with @minodisk/medmd, then create and update posts in Medium with @minodisk/medkit.

    Installation

    $ npm install -g @minodisk/medic

    Usage

    $ medic --help
     
      Usage: medic [options] [command]
     
     
      Options:
     
        -V, --version              output the version number
        -d, --debug                not to use headless Chromium
        -c, --cookies-path <path>  cookies file path (default: cookies.json)
        -h, --help                 output usage information
     
     
      Commands:
     
        sync <patterns...>  creates or updates posts

    Sync posts to Medium

    $ medic sync --help
     
      Usage: sync [options] <patterns...>
     
      creates or updates posts
     
     
      Options:
     
        -h, --help  output usage information
     
     
      Examples:
     
        medic sync articles/example.md
        medic sync articles/*.md
        medic sync $(git diff --name-only)

    Supported functions

    Keywords

    none

    Install

    npm i @minodisk/medic

    DownloadsWeekly Downloads

    26

    Version

    0.8.0

    License

    MIT

    Last publish

    Collaborators

    • minodisk