unsplash / intlc

Compile ICU messages into code. Supports TypeScript and JSX. No runtime.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`intlc prettify` isn't working

OliverJAsh opened this issue · comments

I’m trying to use intlc prettify for the first time. I’m copying the example in the PR #173. I get this error:

$ pbpaste > x.json

$ intlc prettify $(cat x.json | jq -r .x.message)
Invalid argument `boolean,'

Usage: intlc COMMAND
  Compile ICU messages into code.

I was missing quotes:

intlc prettify "$(cat x.json | jq -r .x.message)"