writeas / writeas-cli

Command line client for Write.as / WriteFreely
https://write.as/apps/cli
GNU General Public License v3.0
113 stars 20 forks source link

Support publishing to blog #16

Closed thebaer closed 5 years ago

thebaer commented 6 years ago

Overview Users should be able to publish new posts to the blog of their choice (instead of anonymously).

Dependencies This requires user authentication (#10) to work, and should be done after updating all post calls to API v2 (#9).

Implementation Add a -c flag (for collection) or -b flag (for blog) that takes a blog alias, like matt. This should be used as the PostParams.Collection value when calling Client.CreatePost().

Be sure the URL result shown to the user points to the blog, instead of write.as/{id}