Discussions

Ask a Question
Back to All

Not able to publish guide file from CLI

I am trying to publish readme docs through CLI, but I am getting this error:

⏭️ no front matter attributes found for README_DOCS/README_DOCS.md, skipping
⏭️ no front matter attributes found for README_DOCS/getting-started.md, skipping
⏭️ no front matter attributes found for README_DOCS/guide.md, skipping

trying to uploading with required Yaml front matter attributes.

***title: "files"
excerpt: "these are my files"
slug: "getting-started"
category: "62056dee230e07007218be06"

***is this not working because I have added wrong category id ?
According to the documentation we have to get category id from this endpoint(Link) but what we have to pass as username and password to call this endpoint here ?
“To determine what your category value should be, you can use the Get all categories endpoint and grab the id value from the response.”


Command : rdme docs README_DOCS --key=rdme_key --version="v3"


What i am doing wrong, how can i publish guide file from CLI ?