medium_publish
Post draft articles to Medium
Last updated a month ago by david .
ISC · Bugs · Original npm · Tarball · package.json
$ cnpm install medium_publish 
SYNC missed versions from official npm registry.

medium_publish - Publish draft articles from Markdown to Medium

This little CLI application is used internally by Adatas to export our articles as draft into Medium. It is generic enough to be usable and shall be easy to customize to your fit custom needs. It run as a Node.js application and the source code is written in CoffeeScript

Installation

For users not familiar with the Node.js environment, you can follow the official installation instructions to get started and have the node, npm and npx command available on your system.

This package is published on NPM. Once Node.js is installed, it could be installed and executed with:

# Installation
npm install -g medium_publish
# Print help
npx medium_publish -h

The help print:

NAME
    medium_publish - Post draft articles on Medium

SYNOPSIS
    medium_publish [medium_publish options]

OPTIONS
    --source                Path to the Markdown source code of the article. Required.
    --url                   URL where the article is currently being published. Required.
    --author                The name of the author. Required.
    --author_url            URL of the author page.
    --db                    Path to the database, default to "~/.medium_publish"
    -h --help               Display help information

EXAMPLES
    medium_publish --help      Show this message

Exemple

Use npx medium_publish if installed globally or locally as a dependency. Otherwise, from inside a cloned repository, use ./bin/medium_publish.

npx medium_publish \
  --source ./path/to/article.md \
  --url http://www.adaltas.com/en/my_article/ \
  --author 'Author Name' \
  --author_url http://www.adaltas.com/en/author/name/ \
  --langs en,fr

Current Tags

  • 0.0.6                                ...           latest (a month ago)

6 Versions

  • 0.0.6                                ...           a month ago
  • 0.0.5                                ...           2 months ago
  • 0.0.4                                ...           4 months ago
  • 0.0.3                                ...           5 months ago
  • 0.0.2                                ...           5 months ago
  • 0.0.1                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 14
Dependencies (19)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |