cpx
cpx copied to clipboard
Using this awesome tool with jsonnet CLI
I'm trying with no luck to transpile my "jsonnet" files with cpx and the jsonnet command line tool.
These work:
jsonnet.exe - < config.jsonnet echo {a:'b', b:self.a} | jsonnet.exe -
How can I use the jsonnet CLI transpiler employing the --command option?
I tried this in an npm script:
"scripts": {
"build:json": "cpx \"./**/*.jsonnet\" build -c \"jsonnet.exe -\"",
}