1.0.5 • Published 8 years ago
pubblico v1.0.5
Pubblico: publish a markdown file as Medium post from the command line
an easy way to post on Medium with markdown files

getting started
pubblico requires node>=7
you can install it globally
yarn global add pubblico
//or
npm i -g pubblicoor in a project
yarn add pubblico
//or
npm i --save-dev pubblicousage
pubblico --src [PATH_TO_MARKDOWN_FILE] --medium-api-token [YOUR_TOKEN] --title [TITLE] --tags [TAGS] --publication [PUBLICATION]options
You can pass options inline or storing them in a .pubblicorc json file, located in the folder where you are calling the command
srcspecify path of the file you want to post. REQUIREDmediumApiTokenget it here). REQUIREDpublishThe post will be submitted as draft. You can specify-publishto post it as unlisted.titlethe title of the post, it defaults to'Pubblico'. NOT REQUIRED BUT RECOMMENDEDtagscomma separated tags, default to 'test, pubblico'. NOT REQUIRED BUT RECOMMENDEDpersonalif you specify a publication in the.pubblicorc,pubblicowill try to post in that publication, use-personalto overridepublicationif you don't specify a publication in the config, or if you want to override it, use-publication publication-name
disclaimer
it doesn't basically handle errors at the moment, so just be nice :)