Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple options ? #12

Open
auguster opened this issue Jun 7, 2016 · 0 comments
Open

Multiple options ? #12

auguster opened this issue Jun 7, 2016 · 0 comments

Comments

@auguster
Copy link

auguster commented Jun 7, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant