Skip to content

Using CLI with blog #42

@thomasjsn

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.

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