-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi Andy @lambtron
First, thanks for creating this very useful app. Like you , I wish if I could publish Medium from CLI
I installed it thru npm and looks every thing is working fine except for the publishing .. here is a complete view of what I did .. Please advise if I am missing anything
`bash-4.3$ pwd
/home/ajain/buzzfeed
bash-4.3$ medium login
medium · Please open https://medium.com/me/settings in your browser.
· At the bottom of the page, under Integration Tokens, copy
· this description:
· "Medium-CLI basic publishing access."
· Then generate the new token and copy it.
Paste your Integration Token here:
#####################################################################
· Authenticating into Medium..
· Saved!
bash-4.3$ medium publish
(node:19796) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'split' of undefined
bash-4.3$ ls
articles
bash-4.3$ cd articles/
bash-4.3$ ls
test-post-from-medium-cli
bash-4.3$ cd test-post-from-medium-cli/
bash-4.3$ ls
index.md
bash-4.3$ cat index.md
title: test post from medium command line interface
tags:
canonicalUrl:
publishStatus: draft
license: all-rights-reserved
Testing a post from medium command line interface
bash-4.3$ `
Metadata
Metadata
Assignees
Labels
No labels