Skip to content

Error when using --frontmatter-fields #162

@axwax

Description

@axwax

Hi,
when I try to use the Frontmatter fields option the script halts with an error.

How to reproduce:

As per the example in the instructions I am running
npx wordpress-export-to-markdown --frontmatter-fields=title,date,categories,tags,coverImage,draft

Result:
Something went wrong, execution halted early. Could not find a frontmatter getter named "title date categories tags coverImage draft".

Any idea what I might be doing wrong, or what could be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions