Skip to content

Multiple options ? #12

@auguster

Description

@auguster

I'm trying to use ejs-cli with multiple options file, I tried various syntax but it doesn't seem to work.

For example:
ejs-cli story.ejs -O locales/en/story.json -O locales/en/main.json
gives the following error:

[Error: fail to parse options JSON.
 => locales/en/story.json,locales/en/main.json]

From what I understand, the program puts the file path in an array then tries to JSON.parse it like it would with a string.

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