# handlebarsjs-cli

> CLI for Handlebars

Latest version **0.0.1** (published 2016-09-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install handlebarsjs-cli
pnpm add handlebarsjs-cli
yarn add handlebarsjs-cli
bun add handlebarsjs-cli
```

Provides the command `handlebarsjs-cli`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-09-28 |
| First published | 2016-09-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | dpg |
| Maintainers | donniegallardo |
| Keywords | handlebars, cmd, cli |

## Links

- npm: https://www.npmjs.com/package/handlebarsjs-cli
- Repository: https://github.com/donniegallardo/handlebarsjs-cli
- Homepage: https://github.com/donniegallardo/handlebarsjs-cli#readme
- Issues: https://github.com/donniegallardo/handlebarsjs-cli/issues
- npm.io page: https://npm.io/package/handlebarsjs-cli

## Dependencies (2)

- [optimist](https://npm.io/package/optimist.md) ^0.6.1
- [handlebars](https://npm.io/package/handlebars.md) ^4.0.5

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2016-09-28

## README

# handlebarsjs-cli

Invoke handlebars from the commandline. 

Example:

    echo "Hello {{name}}" | handlebarsjs-cli --name Test

Output:

    Hello Test

You may also pass a JSON string as an argument and it will be 
interpreted as an object.


You can also pass a JSON file:

    handlebarsjs-cli data.json < template.tpl > output.txt

# install

    npm install -g handlebarsjs-cli

# include helper

handlebars-cli comes with a built-in helper `#include`
    
    {{{include 'api.md'}}}

You can also pass context (optional)
    
    {{{include 'render.md.hbs' item}}}

# license

MIT

---
_Source: https://npm.io/package/handlebarsjs-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
