Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Using CLI with blog #42

Open
Open

Description

@thomasjsn

I can't seem to get the CLI to play nice with collections/blogs. It posts as anonymous even when using the b argument.

$ writeas -b thomasjsn publish dev/uctrl-dev/content/about/index.md 
https://write.as/g7x6govygs3zf00l

$ writeas -b thomasjsn post 
test2
https://write.as/kfpxp2ic682y9m7f

Am I missing something?

Also — can I fetch a single or all posts from collections/blogs?

I was hoping to use write.as with my workflow of using a local markdown editor and updating the blog using the CLI. Seems that might not be possible at this stage, without using the API directly of course.

Activity

  1. thebaer commented on Aug 6, 2019

    @thebaer
    Member

    Can you try supplying the -b flag after the command (publish / post)? I.e.

    writeas publish -b thomasjsn dev/uctrl-dev/content/about/index.md 
    

    Unfortunately the argument parsing is a little picky -- something we should probably fix, either way.

  2. thomasjsn commented on Sep 13, 2019

    @thomasjsn
    Author

    Hey @robjloranger, I didn't do anymore testing unfortunately. As I did not end up using write.as as my platform.

  3. bluebirch commented on Sep 22, 2019

    @bluebirch

    Publishing with the -b flag after publish works. But there is no way of listing posts that belong to a post? I'd like to have a directory of markdown files mirroring all posts I have published on a write.as blog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions