Writing data first to JSON, secondly to Handlebars, and thirdly rendering, can be a bit indirect. For example, the data may originate from environment variables, which would be great for flags, but require yet another tool like jq, in order to forward to hbs-cli.
Could we get the ability to declare data directly with stdin, optionally skipping writing any JSON files? This is similar to how mustache CLI and gotpl work. Or the handlebars.js cli ( https://handlebarsjs.com/precompilation.html )
Writing data first to JSON, secondly to Handlebars, and thirdly rendering, can be a bit indirect. For example, the data may originate from environment variables, which would be great for flags, but require yet another tool like jq, in order to forward to hbs-cli.
Could we get the ability to declare data directly with stdin, optionally skipping writing any JSON files? This is similar to how mustache CLI and gotpl work. Or the handlebars.js cli ( https://handlebarsjs.com/precompilation.html )